Tag: Dart

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

Setup Android development environment on Virtualbox VM

Setup Android development environment on Virtualbox VM

We are going to setup Android development environment with an Android Emulator. If we install Android Studio (IDE) inside a Virtual Machine, the Android Emulator setup will fail. This is because Android Emulator is itself a Linux OS and cannot run inside another Virtual Machine. The way around this is to create two VMs in…

Read More Read More