@@ -0,0 +1,1265 @@
+package to.etc.puzzler;%0A%0Aimport java.lang.annotation.*;%0A%0A/**%0A * This annotation sets options for the Puzzler's JUnit test runner for those tests%0A * that are in trouble when running parallel.%0A *%0A * @author %3Ca href=%22mailto:jal@etc.to%22%3EFrits Jalvingh%3C/a%3E%0A * Created on Apr 16, 2014%0A */%0A@Retention(RetentionPolicy.RUNTIME)%0A@Target(ElementType.TYPE)%0Apublic @interface TestConfig %7B%0A%09/**%0A%09 * Define one or more group names that this test class belongs to. These group names%0A%09 * @return%0A%09 */%0A%09String%5B%5D groups() default %7B%7D;%0A%0A%09/**%0A%09 * Define a set of test class names and/or %22parallel%22 group names that this test cannot run%0A%09 * in parallel with. For test class names the mechanism is simple: this test will not run%0A%09 * in parallel with that other test class. Alternatively you add just names here which are%0A%09 * %22group%22 names of tests that should not run together, like %22database%22. For such a name, if%0A%09 * any other test is running also with that %22name%22 this test will wait.%0A%09 * @return%0A%09 */%0A%09String%5B%5D notParallelWith() default %7B%7D;%0A%0A%09/**%0A%09 * When T this test class runs strictly standalone, with not a single other JUnit test in%0A%09 * parallel.%0A%09 * @return%0A%09 */%0A%09boolean serial() default false;%0A%0A%09/**%0A%09 * Can be used to set test IDs.%0A%09 * @return%0A%09 */%0A%09String id() default %22%22;%0A%7D%0A

Add a Puzzler-specific annotation to control/manipulate test execution when running inside the Puzzler.