-
Couldn't load subscription status.
- Fork 450
Description
Currently, filtering is supported only by regular expressions on test descriptions, which are intended to be human-readable, and not necessarily designed for pattern filters. In fact, even changes to capitalization breaks a filter in current use.
A proposed tagging feature would support assignment of simple key words to each test, to support more robust and predictable filtering.
For example, keywords might follow the test description, designed by some leading character, such as +, as follows:
@test "Test integration with a public network service" +non-critical +external-deps {
curl https://someplace/
}
A filter then might be defined to exclude tests with the tag external-deps in environments in which the external web resource is unlikely to be available, or tests which have both that tag as well as non-critical.