facebookarchive / xctool

An extension for Apple's xcodebuild that makes it easier to test iOS and macOS apps.
Apache License 2.0
6.91k stars 738 forks source link

Finds 0 tests when using parameterized test #701

Closed grangej closed 8 years ago

grangej commented 8 years ago

I have a particular test case that overrides defaultTestSuite, this seems to trip up xctool, works with xcodebuild.

When running with xctool, I get 0 tests. Other tests from different schemas run fine.

ExtremeMan commented 8 years ago

Unfortunately xctool relies on default XCTest framework defaultTestSuite behavior. If you use it to create tests on the fly, it is your responsibility to return same set of test cases when xctool queries them.

grangej commented 8 years ago

Could you please point me to the direction on what additional I might have to do to "conform" to the default behavior? I am already returning existing test suite with additional tests.

-John

On Tue, Jun 7, 2016 at 3:30 PM Aleksey Kononov notifications@github.com wrote:

Unfortunately xctool relies on default XCTest framework defaultTestSuite behavior. If you use it to create tests on the fly, it is your responsibility to return same set of test cases when xctool queries them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/xctool/issues/701#issuecomment-224434292, or mute the thread https://github.com/notifications/unsubscribe/AAk6dEbvpwLHwOD-kHYTSRMTl9V-MteWks5qJfEJgaJpZM4Iwa3U .