let say inside a test folder, I have structure like this
test
unit_test
firebase_services
firestore_user_services_test.dart
http_services
http_services_test.dart
widget_test
login_page_test.dart
home_page_test.dart
I have two folders called unit_test
and widget_test
inside the test folder. I need to run all the tests inside the unit_test
only. how to do that ?
because if I run flutter test
it will run all the tests inside the test
folder. if I run flutter test unit_test
, it doesn't run
dart test
but they say it should work forflutter test
too, they also say: "Another way to run a subset of tests is to use the --name (-n), --tags (-t), or --exclude-tags (-x) flag, adding part or all of the string to match:"