Say I have src/test/groovy/MyTest.groovy:
class MyTest extends GroovyTestCase {
void testDummy() {
println 'DUMMY'
}
}
And there is nothing special with my build.gradle:
usePlugin 'groovy'
repositories {
mavenCentral()
}
dependencies {
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.5'
testCompile group: 'junit', name: 'junit', version: '4.7'
}
Why don't I get 'DUMMY' printed at the standard output when I run 'gradle test' in the command line? Am I missing something?
~$ gradle test
:compileJava
:compileGroovy
:processResources
:classes
:compileTestJava
:compileTestGroovy
:processTestResources
:testClasses
:test
BUILD SUCCESSFUL
Total time: 5.372 secs