MobileNativeFoundation / bluepill

Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
BSD 2-Clause "Simplified" License
3.19k stars 232 forks source link

Support sidecar applications #438

Closed bogo closed 4 years ago

bogo commented 4 years ago

This is a sibling diff to facebook/buck#2346. It allows Bluepill to ingest a list of dependencies from:

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! 🎉

bogo commented 4 years ago

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. 😬