Add test plans for all test targets (#740)

* Add UnitTests test plan

* Add IntegrationTests plan

* Add changelog.d file

* Update ElementX schema
This commit is contained in:
Alfonso Grillo 2023-03-29 12:48:06 +02:00 committed by GitHub
parent b2f3f289d7
commit f67207616b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 59 additions and 6 deletions

View File

@ -33,8 +33,9 @@ schemes:
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- UnitTests
testPlans:
- path: ../../UnitTests/SupportingFiles/UnitTests.xctestplan
defaultPlan: true
environmentVariables:
IS_RUNNING_UNIT_TESTS: "1"

View File

@ -0,0 +1,24 @@
{
"configurations" : [
{
"id" : "AEF793E9-1B0B-4383-BFE4-68E19BAEDC7F",
"name" : "Default",
"options" : {
}
}
],
"defaultOptions" : {
"testTimeoutsEnabled" : true
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:ElementX.xcodeproj",
"identifier" : "D3DB351B7FBE0F49649171FC",
"name" : "IntegrationTests"
}
}
],
"version" : 1
}

View File

@ -24,8 +24,9 @@ schemes:
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- IntegrationTests
testPlans:
- path: IntegrationTests.xctestplan
defaultPlan: true
targets:
IntegrationTests:

View File

@ -0,0 +1,25 @@
{
"configurations" : [
{
"id" : "D789E5F1-30B8-4A23-B20E-281ACE05CFD6",
"name" : "Default",
"options" : {
}
}
],
"defaultOptions" : {
"defaultTestExecutionTimeAllowance" : 60,
"testTimeoutsEnabled" : true
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:ElementX.xcodeproj",
"identifier" : "32C23C8D224D46EFE62AFAD0",
"name" : "UnitTests"
}
}
],
"version" : 1
}

View File

@ -22,8 +22,9 @@ schemes:
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- UnitTests
testPlans:
- path: UnitTests.xctestplan
defaultPlan: true
targets:
UnitTests:

View File

@ -0,0 +1 @@
Add test plans for other test targets.