This is a sibling diff to facebook/buck#2346. It allows Bluepill to ingest a list of dependencies from:
the DependentProductPaths field in the xctestrun files, or
the dependencies key in the test plan file.
At Dropbox, to test correct inter-op with third party applications, our UI tests have a secondary "sidecar" app. During the UI testing, they need to be built and installed together with the main app. The Xcode's default test runner is able to take care of this, as long as the the generated test configuration contains the testApplicationDependencies.
Tested this with our apps - the sidecar app installs correctly and tests pass! 🎉
thanks for the 👍 @oliverhu! I pushed a small change removing the dependencies check from BPConfiguration.m - it would fail test plans that didn't have that field. Probably shouldn't break existing setups. 😬
This is a sibling diff to facebook/buck#2346. It allows Bluepill to ingest a list of dependencies from:
DependentProductPaths
field in thexctestrun
files, ordependencies
key in the test plan file.At Dropbox, to test correct inter-op with third party applications, our UI tests have a secondary "sidecar" app. During the UI testing, they need to be built and installed together with the main app. The Xcode's default test runner is able to take care of this, as long as the the generated test configuration contains the
testApplicationDependencies
.Tested this with our apps - the sidecar app installs correctly and tests pass! 🎉