Hi,
in a solution with dozens of projects, I have a lot of projects that contain integration tests and other ones that contain mere unit tests.
Would there be a way that you could have a feature having a test filter (other than the manual pinning and ignoring projects and/or tests) that includes and/or excludes a pattern of projects in the runnable test list ?
That way I could like enter "*.IntegrationTests.csproj" to exclude all integration tests, because I would like to run unittests only, because of the more immediate feedback, and less system churn. (without going manually through every single project and/or test)
Or enter "*.UnitTests.csproj" to use only these projects for running tests.
Or based on a solution folder (off/on) could also be useful ?
Thanks for considering :)
Daily Usage Issues
Solution with many projects - filter the tests on project name
Started by Dirk Maegh on 1,714 views
Remco NCrunch Developer
#15379
25 Mar 2021 23:34 UTC
Hi, thanks for sharing this idea.
We do already have the tests to execute automatically setting that can be overridden by engine modes and will do a large part of what you're after. Though this won't stop tests from being shown in the Tests Window.
If we had a similar feature that hid tests from the tests window, you could use both of these settings in combination with the show coverage for tests setting to effectively remove tests from the session.
Such a setting would make sense as a new feature request if you'd like to write it up on uservoice?
We do already have the tests to execute automatically setting that can be overridden by engine modes and will do a large part of what you're after. Though this won't stop tests from being shown in the Tests Window.
If we had a similar feature that hid tests from the tests window, you could use both of these settings in combination with the show coverage for tests setting to effectively remove tests from the session.
Such a setting would make sense as a new feature request if you'd like to write it up on uservoice?
Post a reply
Log in to reply.