Unit Test Cases with JUnit +(Robolectric or Mockito or both in Android)
<p>This is first time I have to write unit test cases in Android.</p>

<p>So I have searched lots of things.</p>

<ol>
<li><strong>Robolectric framewordk</strong> - Runs on JVM</li>
<li><strong>Mockito Framwork</strong> - Mocking objects</li>
</ol>

<p>So I have some doubts in Robolectric &amp; Mokito.</p>

<ol>
<li>Should I have to use Robolectric only with JUnit in Android app?</li>
<li>Should I have to use Mockito only with JUnit in Android app?</li>
<li>Should I have to go with both framework?</li>
<li>What is the difference between Mockito &amp; Robolectric?</li>
</ol>

<p>I have search for difference between Mokito &amp; Robolectric but don't get any proper answer for that.</p>

<p>Please suggest.</p>