« Return to Thread: 'test/java' and 'test/groovy' directories

Re: 'test/java' and 'test/groovy' directories

by Peter Ledbrook :: Rate this Message:

Reply to Author | View in Thread

> Is there anyway currently to get these helper/abstract test classes not to
> show up in the test report with warnings indicating they don't contain any
> tests?

With Grails the version of Grails in subversion, you can specify a
test pattern in Config.groovy:

  grails.testing.patterns = [ '**/*Tests' ]

As long as your abstract classes do not match the pattern, they will
not be included in the tests.

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: 'test/java' and 'test/groovy' directories