lundi 22 décembre 2014

Launching Unit Tests from ios-sim doesn't execute all tests

I'm trying to launch tests from my CI using ios-sim using approach described here: http://ift.tt/13uJwWh , but instead of SenTest I'm using XCTest in my application, so last parameter should be not



--args -SenTest All


but something like



-args -XCTest All


and if I use such parameter, not all tests are executed. How can I specify executing all tests using XCtest? If I use



--args -XCTest -test All


none of tests are executed. The full launch command:



ios-sim launch Target.app --devicetypeid 'com.apple.CoreSimulator.SimDeviceType.iPhone-5s, 8.1' --setenv DYLD_INSERT_LIBRARIES="/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection" --setenv XCInjectBundle="UnitTests.xctest" --setenv XCInjectBundleInto="Target.app/Target" --args -XCTest All "UnitTests.xctest"

Aucun commentaire:

Enregistrer un commentaire