Search
[Flutter/dart] Some tests are not run by flutter test
- M.R

- Oct 9, 2021
- 1 min read
Overview
I tried to execute the created test with flutter test at once, but there are some tests that are not executed (even if I make it fail intentionally, it passes).
If I specify it individually in the GUI of Android Studio, it can be executed properly.
Cause and Solution
In order to execute with flutter test, it seems that the file name must be ***-test.dart.
After renaming the file, I was able to execute it.






Comments