-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests in xctestrun SkipTestIdentifiers not skipped #165
Comments
I think I may have found the issue and I'm investigating a possible fix. On
Once in BPPacker, the array is not nil, but it is empty, so it passes the conditional on It's not until In BPRunner.newTaskWithBundle (
(note: these are fake test names, modified because I'm testing against a real product, but the format is identical) I'm not quire sure why the skipped tests assigned to the task's config in |
Still can't quite figure out what's going on. Interesting to note: if you specify |
@krze you can fork the repo and create a PR from your fork to linkedin's. |
Thanks. Still investigating as #162 anticipates getting the skip tests from the xctestrun file so I'm not quite sure if I'm on the right path here: |
One comment (I cannot comment on the code until the PR is created), but I think that you want to make the second |
Thanks for clarifying, I wasn't sure which should have precedence or if they should all be accounted for. I'll make sure those override when I submit the PR |
I'm trying to add tests, or at least not break the ones that exist, and it appears that there are a lot of test failures on I don't want to add retry logic to these configuration classes just for the sake of passing tests, and these failures have nothing to do with the code I've added (again, I've checked against master and the result is the same). Is there a workaround for this issue? |
I've found that I have to build the BPSampleApp scheme first so that the tests can run with sample data. Have you done that? |
Sorry about this, I just ran the |
@lyndsey-ferguson @krze can you double check if this would fix this issue? #166 |
#166 fixes the issue, thanks! |
Fixed a bug that skipped tests in BPXCTestFile not picked up #165
Cool, I'll merge the PR and bump the release. |
Sorry, I haven't been able to look at this due to my schedule. I'm glad that this was resolved. |
I got the latest release of bluepill 1.1.1, and ran bluepill with the new
xctestrun-path
option pointing to a valid xctestrun file generated by abuild-for-testing
compile of my project. It ran the correct test scheme, but it did not skip any of the tests specified in SkipTestIdentifiers.This is with Xcode 8.3.2 and Bluepill 1.1.1 release
The text was updated successfully, but these errors were encountered: