Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anybody share a reason (or list of reasons) of not using the native android junit framework but a standalone one like robolectric or something like that?

I'm just trying to understand what framework to learn.

share|improve this question
up vote 0 down vote accepted

The main advantage of the bundled JUnit is that you don't have to bring additional dependencies into your project. JUnit is mature, well-documented and familiar-to-everybody framework. If you are not looking for sth special use JUnit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.