Closed lyndsey-ferguson closed 7 years ago
Wfm. Anyone else seeing this issue?
@oliverhu perhaps this the order I put those options matters? I will shrink down my command line and play with that to see if it helps.
Could you put in a sample of how you use it? Oh, I am not sure if this matters or not, but this is for UI tests.
@oliverhu which version of bluepill are you using? I am using v1.0.1 with Xcode 8.3.2.
Following @nickmshelley 's suggestion, I tried using the config.json file approach and that does not change the behavior. Tests that I listed to be excluded are still tested.
config.json
{
"app": "/Users/me/Library/Developer/Xcode/DerivedData/workspace-errktneoxlwzywgvsfjkgtekiycp/Build/Products/UI Testing-iphonesimulator/WorldsBestApp.app",
"scheme-path": "/Users/me/repo/ios/WorldsBestApp/WorldsBestApp.xcodeproj/xcshareddata/xcschemes/XCUI Tests - As.xcscheme",
"num-sims": "2",
"failure-tolerance": "3",
"only-retry-failed": true,
"device": "iPhone 5s",
"runner-app-path": "/Users/me/Library/Developer/Xcode/DerivedData/workspace-errktneoxlwzywgvsfjkgtekiycp/Build/Products/UI Testing-iphonesimulator/WorldsBestApp UI Tests-Runner.app",
"exclude": ["ATests/testAAdditionInLandscape", "RViewTests/testRListsOffline", "ATests/testAccountAdditionStep1"],
"output-dir": "/Users/me/repo/ios/artifacts/tests"
}
Hmm, actually I am able to reproduce this issue with BPSampleApp. The -x works with bluepill-cli but not working well with bluepill (the runner app). We are looking at this.
That would be great, right now, I have put in code that changes the project so that it does not include test suites in the test target; somewhat ugly.
should be fixed in latest master
@oliverhu how often are releases put out?
I am passing multiple tests to exclude and bluepill runs them anyway. How is the
-x
option supposed to be used?I am using v1.0.1.
For example, I run bluepill with the command with the options:
to exclude those tests, yet I see:
I have tried both with, and without the single quotes (
'
)