title: Problems with JUnit testing in IntelliJ IDEA - Class not found
body: <p>I'm trying to do some JUnit testing in IntelliJ IDEA. When I have a pure Java project the testing works fine. However I have a Android project I want to test on. The project contains both pure Java files and Android files. This error comes from trying to test a non Android class in a Android project. The non-android class is in the same test package as the Android test classes.</p>
  
  <p>When I have my dependencies structured like this:
  <img src="https://i.stack.imgur.com/oWowL.png" alt="enter image description here"></p>
  
  <p>I get the following error:
  <img src="https://i.stack.imgur.com/vogBr.png" alt="enter image description here"></p>
  
  <p>I looked at another thread here on Stackoverflow and that said to put JUnit above the Android API in the dependencies list. When I try that I only get: </p>
  
  <p>Class not found: "com.edit.mouseophonic.app.tests.TestClass"
  Process finished with exit code 1</p>
  
  <p>I have no idea how to solve this. 
  All help appreciated!</p>