Add a way to mark a failed test case #58468
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
type-test
Use case
Sometimes there is a need to commit a test case, before actually implementing it.
As part of Test-driven development, this has the benefit of:
Some other projects use the same concept (
notYetImplemented
), e.g. Groovy and Selenium.Needles to say, this doesn't mean implementation is done without testing. But it means tests can be committed, and implementation can later follow.
A similar request in
test
in dart-lang/test#1178Proposal
An optional
FAILING
to be added to the lints comment (optionally having an issue number), and when set, the result of the test is reversed.Test XYZ is marked as failing but already succeeds
.As a side note, it seems
Annotation.message
is not used by any lint, except inannotation_test
, and so it could be removed.The text was updated successfully, but these errors were encountered: