The tag parameter is now available on
It and it is possible to filter tags on any level. You can then use
-ExcludeTag to run just the tests that you want.
Here you can see an example of a test suite that has acceptance tests and unit tests, and some of the tests are slow, some are flaky, and some only work on Linux. Pester5 makes running all reliable acceptance tests, that can run on Windows is as simple as:
The tags are now also compared as
-like wildcards, so you don't have to spell out the whole tag if you can't remember it. This is especially useful when you are running tests locally: