Getting Real Code Coverage
3 min readFeb 8, 2021
It’s not enough just to type flutter test — coverage as it leaves out how to get the actual fancy html metrics report generated. Let me show you an easy to do exactly that for your flutter project.
lcov and You
Lcov on most unix systems computes code coverage on unit tests. While in our Flutter projects we can get the lcov file generated, it seems that Android Studio can not view it.