Skip to content

Latest commit

History

History
32 lines (18 loc) 路 1 KB

File metadata and controls

32 lines (18 loc) 路 1 KB

Using test tags in Flutter

Ever wanted to filter tests so you only run the ones you need to?

This can be easily done using test tags.

Super useful when you have dozens/hundreds of tests and you want to target specific ones from the command line. 馃憞


There are configuration options to tag:

  • an entire test suite (with the @Tags annotation)
  • a test group or an individual test (with the tags argument)

More info on the test package documentation: https://pub.dev/packages/test#tagging-tests

For more tips like these, just follow me: @biz84 馃檪


Found this useful? Show some love and share the original tweet 馃檹


Previous Next
Singletons in Flutter: Drawbacks Flutter Riverpod: How to Register a Listener during App Startup