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

Feature Request: Ability to configure specific test cases to be enabled/disabled in custom schemes #2666

Open
thiagohmcruz opened this issue Oct 5, 2023 · 2 comments
Labels
feature request New feature or request

Comments

@thiagohmcruz
Copy link
Contributor

It would be interesting to be able to configure at the xcodeproj macro level what test cases are enabled or not in a custom scheme. I can imagine different use cases here but one example is wanting to generate special scheme that test a particular grouping of test cases to troubleshoot issues.

For example, in the screenshot above say I want a custom scheme containing iOSAppMixedUnitTests but with only SwiftUnitTests enabled instead of all test cases in the target.

image

@thiagohmcruz thiagohmcruz added the feature request New feature or request label Oct 5, 2023
@brentleyjones
Copy link
Contributor

If we add support for this, it will be in the incremental generation mode. Right now that has the ability to enable/disable tests at the target level. I think we can add a way to do it for test classes and methods as well.

@thiagohmcruz
Copy link
Contributor Author

Adding that to the incremental generator only sounds good to me.

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

No branches or pull requests

2 participants