[GRADLE-243] rethink default for junit-filter-pattern Created: 26/Sep/08  Updated: 04/Jan/13  Resolved: 29/Oct/08

Status: Resolved
Project: Gradle
Affects Version/s: 0.4
Fix Version/s: 0.5

Type: Improvement
Reporter: Helmut Denk Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

i noticed, that the default for the junit-filterpattern includes
class-names 'Test*'. for me this produced problems with a class
called 'com.mycompany.myapp.TestDaten' that resides in the
/src/test/test/groovy dir. i fix this be doing an explizit:

test {
include '**/*Tests.class'
include '**/*Test.class'
exclude '*/Abstract.class'
exclude '*/Test.class'
}

out of my (selfish) perspective the following pattern should be
default:

test {
include '**/*Tests.class'
include '**/*Test.class'
exclude '*/Abstract.class'
}

i would be happy too, if i could change the default-pattern
easily and DRY by setting conventions.



 Comments   
Comment by Hans Dockter [ 26/Sep/08 ]

In how far does the current way of setting things violate DRY?

Comment by Helmut Denk [ 27/Sep/08 ]

>>In how far does the current way of setting things violate DRY?

hmm ... ok. i see it now. another item for gradle-customizations.jar.

please close the issue 'as Won't Fix'

thank you

Comment by Helmut Denk [ 27/Sep/08 ]

ups ... i did'nt know, that i can close the issues
by myself. wieder was dazu gelernt ...

Comment by Hans Dockter [ 25/Oct/08 ]

I have reopened the issue, as we want to use the proposed patterns as default.

Generated at Wed Jun 30 11:25:13 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.