How to run an excluded test in Dart?

Viewed 20

I have decorated my test file with @Tags(['integration']) at the top.

I then created a dart_test.yaml file with exclude_tags: integration and added it to my root directory.

If I run all my tests, my integration test doesn't run - as expected.

...but how do I run that excluded test?

I don't want to accidentally run other integration tests so think commenting out the tags or dart_test.yaml code would be error prone.

https://github.com/dart-lang/test/blob/master/pkgs/test/doc/configuration.md

0 Answers
Related