Flutter Test: How to only run one group or test

Viewed 350

I want to run an individual group or test in the flutter throw command line for my better automation testing for a particular feature.

1 Answers
flutter test test/path/to/file --name yourGroupName

For example:

flutter test test/myApp/products_repository.dart --name getAllProducts
Related