Skip to content

Commit

Permalink
Specify ElementX target for coverage in integrations plan.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Jul 27, 2023
1 parent 0e7a48d commit 6260a5e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions IntegrationTests/SupportingFiles/IntegrationTests.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
}
],
"defaultOptions" : {
"codeCoverage" : {
"targets" : [
{
"containerPath" : "container:ElementX.xcodeproj",
"identifier" : "C0FAEB81CFD9776CD78CE489",
"name" : "ElementX"
}
]
},
"environmentVariableEntries" : [
{
"key" : "INTEGRATION_TESTS_HOST",
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-1398.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Specify the target for code coverage in the Integration Tests plan.
3 changes: 3 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ end


lane :integration_tests do
clear_derived_data()

create_simulator_if_necessary(
name: "iPhone 14 Pro",
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro"
Expand All @@ -173,6 +175,7 @@ lane :integration_tests do
output_directory: "./fastlane/test_output",
proj: "ElementX.xcodeproj",
scheme: "IntegrationTests",
binary_basename: "ElementX.app"
)
end

Expand Down

0 comments on commit 6260a5e

Please sign in to comment.