Test Driven Development For Android

android, tdd, testing

Solution

Yeah we can use JUnit for test driven development. To initiate with you can refer to following link : http://developer.android.com/tools/testing/testing_android.html#JUnit Following the documentation we can use the junit.framework to have unit testing done.

Problem

Can we use JUnit for test driven development in Android ? If not, is there an alternative similar to JUnit ? I searched a bit on google and also read a SO post Android Test Driven Development It looks like Android was never made with TDD in mind. I wanted to be sure before I begin learning TDD and doing Android development at the same time.

Original source

Related problems