Giles icon indicating copy to clipboard operation
Giles copied to clipboard

Filters Should Be Able To Exclude Test Projects

Open cnwilkin opened this issue 12 years ago • 1 comments

Currently if you have multiple test projects with similar namespaces such as

MyProject.Core
MyProject.Tests
MyProject.Tests.Integration

and you set filter on MyProject.Tests it will still run the tests from MyProject.Tests.Integration.

The easiest solution I can come up with is to change filters to allow them to be used as both includes and excludes. The excludes filters would run all tests except for the tests in the filtered namespace.

cnwilkin avatar Apr 20 '13 19:04 cnwilkin

Currently I'm thinking that the syntax should go after the namespace

MyProject.Tests, +MyProject.Tests, MyProject.Tests -i, or +MyProject.Tests -i for inclusive and MyProject.Tests -e or +MyProject.Tests -e for exclusive.

This would allow existing scripts to continue working without modifications.

cnwilkin avatar Apr 20 '13 21:04 cnwilkin