In our app testing strategy, Unit tests are the fundamental tests. With the Unit test, we can verify if the individual logic we have written is correct. We can run those Unit tests after each build to make sure any new changes don’t cause impacts on the existing code. Thus Unit tests help us quickly catch and fix issues before the release.

If you are new to Android Development or already have years of experience, you should be quite familiar with Kotlin now. And after the deprecation of AsyncTask from API level 30, the best option you have is to…

Photo by Jan Ranft on Unsplash

If you have Dagger in your project but never used it for testing, it’s high time to give it a try. Dagger makes your code so much easier to test. Once the test setup is complete, all you have to do is plug and play with the dependencies. Also, dependency injection is a crucial concept in testing, and you should use it whenever possible.

I highly recommend having hands-on experience in Dagger and Unit testing before going through the article. It’s required to have the fundamental knowledge of Dagger to understand how things work under the hood.

Exploring the Test Application


The sample app…

During unit testing, our goal is to segregate each part of the program and test its functionality. The problem occurs when certain parts of the code remain uncovered by the test. It can lead to several issues, including potential code defects in the production app. We may try to locate those untested parts manually, but at some point, this will become impossible and not cost-effective at all. Code coverage tool can make this process simple and allow us to perform this kind of analysis automatically. By running the code coverage, we can check which part of the code was called…

If you are an Android developer, you might have heard about the Associate Android Developer certification. This program is the only known certification organized by Google for Android Developers. Recently, I had the chance to go through the certification and have the first-hand experience. Before the registration, I searched all over the internet to get a basic idea of the whole process. Most of the existing tutorials/guides were outdated, so it didn’t help me properly. In this tutorial, I would like to share my experience and tips/tricks to make your certification journey smoother.

Where it all began?

In 2016, Google announced a new certification…

Prokash Sarkar

An Android enthusiastic. Currently pursuing a perfect blend of style and function for a wide range of Android Applications.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store