Test Driven Development with Android Studio

We open Android Studio, write some Kotlin code, then run an Emulator to ensure the code worked. Does it perform as expected? If so, then we move on to the next bug or feature in the queue. But is there a way to speed this process up? Absolute.

Welcome to Test-Driven Development, or TDD for short. View this video to catch up on all things TDD with Espresso.

Please leave questions in the YouTube comments and I will respond.

About the author

Daniel Malone
Bringing more than a decade of software engineering experience, Daniel Malone is Editor at androidEveryday. An Austin native, Daniel is often found reading technical books, blogging and creating YouTube tutorials. When not working, he likes to listen to pop hits on Google Play Music.

findViewById() in Kotlin

  • As you may have discovered, findViewByid() is no longer needed.
  • Kotlin adds the ability to directly access Views.

1 week ago

Android Architecture Components Tutorial: ViewModel + LiveData

  • Use Kotlin to build a basic Android app using Android Architecture Components.
  • As part of Jetpack, LiveData and ViewModel support a MVVM app architecture.

3 weeks ago

Android SharedPreferences Tutorial in Kotlin

  • Use SharedPreferences to store simple data in Android Studio projects.
  • It's good for storing small amounts of data

    3 weeks ago