title: Unable to run JUnit test in IntelliJ
body: <p>I wanted to start project using TDD. Created the test directory and later changed it to package that is integrated with src direcotry. In both cases I get the same error:</p>
  
  <blockquote>
    <p>Class not found: "tests.objectsTest"</p>
  </blockquote>
  
  <p>I tried different techniques of importing JUnit jar and none solved problem. Also I tried to rename my test class but it gives no solutons whatsoever. </p>
  
  <p>It seems that IntelliJ or JUnit changes name of the test class. Shouldn't it be <code>objectsTest.tests</code>?</p>
  
  <p>I am using JUnit version 4.12 and latest IntelliJ EAP.</p>
  
  <p>This is my project structure:</p>
  
  <p>Project:</p>
  
  <pre><code>-.idea
  -src
    -logic
    -objects
  -tests
    -test
     -test.java
  </code></pre>
  
  <p>src and tests are directories marked as Source and Test. Every package except test is empty. On my other PC with IntelliJ Community Edition everything works fine but on EAP there is this bug. Unfortunatelly I have to use EAP.</p>
  
  <p><strong>test.java code:</strong></p>
  
  <pre><code>package test;
  
  import org.junit.Test;
  
  public class test {
  
      @Test
      public void canCreateInhabitant(){
  
      }
  }
  </code></pre>