source: branches/features/purchaseOrders/test/unit/AllUnitTestSuite.groovy @ 954

Last change on this file since 954 was 926, checked in by gav, 13 years ago

Add AllUnitTestSuite to provide a unit test runner for IDEA.

File size: 396 bytes
Line 
1import 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 */
7public 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.