-
Couldn't load subscription status.
- Fork 379
Description
We're looking at adding the ability to sequester tests by trait (specifically for Flaky tests right now). We want to be able to include test runs in Arcade builds that do not fail the build but still produce all the necessary output. It looks like this should be possible by making this Error task conditional on a flag stored with the TestRun item itself:
| <Error Text="Tests failed: $(_ResultsFileToDisplay) [$(_TestEnvironment)]" Condition="'$(_TestErrorCode)' != '0'" File="XUnit" /> |
I've already got code in our build script that plugs in and synthesizes multiple TestRun items (and does things like changes the report filename and xunit '-trait' arguments) but I think I'd need an Arcade change to make this work (without just replacing the whole RunTests target).
(I have cycles to make the changes myself, but I wanted to create an issue first to discuss)