title: Gradle not running tests
body: <p>For some reason gradle is not running my tests. When i execute <code>gradle cleanTest test -i</code> i get:</p>
  
  <pre><code>Skipping task ':compileJava' as it is up-to-date (took 0.262 secs).
  :compileJava UP-TO-DATE
  :compileJava (Thread[main,5,main]) completed. Took 0.266 secs.
  :processResources (Thread[main,5,main]) started.
  :processResources
  Skipping task ':processResources' as it has no source files.
  :processResources UP-TO-DATE
  :processResources (Thread[main,5,main]) completed. Took 0.001 secs.
  :classes (Thread[main,5,main]) started.
  :classes
  Skipping task ':classes' as it has no actions.
  :classes UP-TO-DATE
  :classes (Thread[main,5,main]) completed. Took 0.0 secs.
  :compileTestJava (Thread[main,5,main]) started.
  :compileTestJava
  Skipping task ':compileTestJava' as it has no source files.
  :compileTestJava UP-TO-DATE
  :compileTestJava (Thread[main,5,main]) completed. Took 0.001 secs.
  :processTestResources (Thread[main,5,main]) started.
  :processTestResources
  Skipping task ':processTestResources' as it is up-to-date (took 0.004 secs).
  :processTestResources UP-TO-DATE
  :processTestResources (Thread[main,5,main]) completed. Took 0.007 secs.
  :testClasses (Thread[main,5,main]) started.
  :testClasses
  Skipping task ':testClasses' as it has no actions.
  :testClasses UP-TO-DATE
  :testClasses (Thread[main,5,main]) completed. Took 0.001 secs.
  :test (Thread[main,5,main]) started.
  :test
  file or directory '/Users/jan/2014-2015-groep-05/VoPro/build/classes/test', not found
  Skipping task ':test' as it has no source files.
  </code></pre>
  
  <p>My test are in the folder <code>./test/</code>. And this is my gradle config:</p>
  
  <pre><code>apply plugin: 'java'
  apply plugin: 'eclipse'
  
  test {
    testLogging {
      events "passed", "skipped", "failed", "standardOut", "standardError"
    }
    dependsOn 'cleanTest'
  }
  
  repositories {
    mavenCentral()
  }
  
  dependencies {
    testCompile("junit:junit")
  }
  
  sourceSets {
    main {
      java {
        srcDir 'src'
        srcDir 'test'
      }
    }
  }
  </code></pre>
  
  <p>I can't seem to find what the problem is. Gradle does not recognize any tests, since both test and cleanTest are always up to date, however i did add test/ to my sourceSets. </p>