Skip to content
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

Don't run disabled tests #551

Open
tiag0sousa opened this issue Feb 20, 2023 · 2 comments
Open

Don't run disabled tests #551

tiag0sousa opened this issue Feb 20, 2023 · 2 comments

Comments

@tiag0sousa
Copy link

Hi!
I noticed that even tests that are disabled in xcode end up being executed when using xctestrun-path
Do we have a way to not run them on Bluepill?

Thank you in advance

@ob
Copy link
Member

ob commented Feb 20, 2023

I remember we had an attempt to fix this but it's a bit complicated. The way we figure out the list of tests is by scanning the binary and looking for test files, unfortunately this doesn't detect disabled tests. The only accurate way of getting the list of tests – including which ones are disabled – is to inject a dylib and use XCTest's methods to scan the classes... unfortunately this involves spawning a Simulator and running the app... which is slower.

@ob
Copy link
Member

ob commented Aug 30, 2023

#558 has some code to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants