Tag: DevOps

Dart Code Coverage with Github Actions and CodeCov

Dart Code Coverage with Github Actions and CodeCov

Unit tests and Code Coverage not only improves the code quality but also provides agility in developing new features with confidence. How to set it up for a Dart repository hosted on GitHub? We will be using the following two packages for writing/running unit tests and collecting code coverage data. Package Description test Provides a…

Read More Read More

Dart Code Coverage with Github Actions and CodeCov (using test_coverage package)

Dart Code Coverage with Github Actions and CodeCov (using test_coverage package)

The test_coverage package has not been updated for quite some time and is not playing well with some of the fewer packages. It also doesn’t support null safety. The replacement is the new ‘coverage’ package from the Dart tools team. The ‘coverage’ package should be used for new projects. See the post here to set…

Read More Read More