[Flutter/dart] Some tests are not run by flutter test
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.
Recent Posts
See AllWhat want to do I want to create an input form using TextField. For example, if the input content is a monetary amount, I would like to...
What want to do There is a variable that remain unchanged once the initial value is determined. However, it cannot be determined yet when...
What want to do As the title suggests. Place two widgets in one line on the screen One in the center of the screen and the other on the...
Comments