Search code examples
androidandroid-studiounit-testingjunit

Continuous Testing in Android Studio


This is my first time making an Android application after I started to do NodeJS. My last Android application was when Android 7 and Eclipse, and it way past. Going back to develop for Android need a lot of adjustment, and it was not smooth and butter.

Having spoiled with something like nodemon or ng-serve, which do continuous testing automatically after every code change, I am trying to look something similar in Android Studio and Kotlin. That way I could experiment, test, do trial and error, or anything in Kotlin, and know the result immediately without waiting a few seconds for build and run. That could cut my learning time by a lot. Type the code and see the result immediately a the bottom of the screen.

Is that possible in Android Studio? Any plugin I have to install? Or any tutorial I need to follow?

Thank you


Solution

  • You can use Android Instant Run to reflect immediate changes to your app without completely restarting the entire app, also there is an option where you can view your App Layout side by side with your code using Android Studio Live Layout Preview. Some other methods can be using CodeWithMe to achieve faster deployment of the app and instant feedback (It is a Third Party tool).