Hey guys, I cannot get include/exclude to work with 'test' task. Here's my gradle:
ant.importBuild 'build.xml'
usePlugin 'java'
test {
testClassesDir = file('../automatedbuild/classes')
scanForTestClasses = false
include = '**/CreditLimitsTest.class'
forkEvery = null
exclude = '**/*.*'
}
The problem is that it always picks up all tests for execution, rather than
the single one I expect. I played with various configuration entries but it
always picks up all tests.
Any idea why?
Cheers!
Szczepan
