I am in the process of migrating a bunch of old, not terribly maintainable, tests over to a new way of doing things. The new tests are in a different project and I have setup an Engine Mode to filter out the old test project.
I would like a way to be able to switch to the aforementioned Engine Mode and then do a "resynchronize" that doesn't ignore my filter. Basically, I want the selected Engine Mode to not only apply to automatically run tests but to the "run all" as well. Effectively, I want the Engine Mode to do the same thing as Ignoring a bunch of tests would do.
The reason I want this is because I want to be able to see what my code coverage is like for the new test project without having to ignore (and then unignore) my old tests (which should continue to be run regularly when I am not specifically working on the migrating tests. Also, while I am working on the project of migrating tests I want to disable the automatic running of the old tests.
To reproduce:
- Setup a new project.
- Setup two tests that cover two different parts of a project, each with a different test category or something.
- Setup an Engine Mode that filters out one of the two tests (by category or something).
- Click the "Resynchronize" button.
- --> Notice that your code coverage still shows the tests that are filtered out by the Engine Mode.