[GRADLE-1649] Remove default exclude patterns for test tasks Created: 28/Jun/11 Updated: 04/Jan/13 Resolved: 07/Sep/11
|Reporter:||Luke Daley||Assignee:||Adam Murdoch|
While no firm decision has been made to do this, a decision should be made either way prior to the 1.0 release if possible and acted upon.
|Comment by Ric Klaren [ 29/Jun/11 ]|
To disable the default exclude pattern you have to do something like:
The behaviour now is to add the default include/exclude patterns when include/exclude are empty and scanForTestClasses=false.
This makes it 'hard' to get rid of the default exclude pattern.
Basically the exclude pattern is the one that is 'in the way' the most and the workaround to get rid of it is a bit silly. Leaving that one out would make me personally happy.
It would be nice to be able to say exclude =  ( or should it be excludes = ? ) or to specify a property noDefaultTestPatterns.
Or leave them out altogether. Turning off scanForTestClasses already implies that you need to do something since you turned off some magic (at least to me it would).