Last change
on this file since 932 was
926,
checked in by gav, 14 years ago
|
Add AllUnitTestSuite to provide a unit test runner for IDEA.
|
File size:
396 bytes
|
Rev | Line | |
---|
[926] | 1 | import junit.framework.Test |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * Provides a unit test runner for IDEA. |
---|
| 5 | * http://blog.marktye.com/2009/03/running-grails-unit-tests-in-intellij.html |
---|
| 6 | */ |
---|
| 7 | public class AllUnitTestSuite extends AllTestSuite { |
---|
| 8 | |
---|
| 9 | private static final String BASEDIR = "./test/unit" |
---|
| 10 | private static final String PATTERN = "**/*Tests.groovy" |
---|
| 11 | |
---|
| 12 | public static Test suite() { |
---|
| 13 | return suite(BASEDIR, PATTERN) |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.