From 42f8a96a37cdeb869382b0a1bb084296299302c4 Mon Sep 17 00:00:00 2001 From: Antoine Gourlay Date: Fri, 22 Aug 2014 14:49:18 +0200 Subject: Add support for running a specific Junit test/method. Unless I really missed something, there is currently no way to run a specific Junit test (class or method). Running the whole thing is going to get worse and worse since Junit is supposed to be the preferred way, so here it goes: // will run all methods in a test file ant test.junit -Dtest.class=scala.WhateverTest // will run a specific method (just an alias for the one below) ant test.junit -Dtest.class=scala.WhateverTest -Dtest.method=mymethod // will run several methods (comma separated) ant test.junit -Dtest.class=scala.WhateverTest -Dtest.methods="foo,bar" `test.method(s)` without `test.class` is just ignored (all tests are run). --- build.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index b7950f971c..6c750e530d 100755 --- a/build.xml +++ b/build.xml @@ -1440,9 +1440,13 @@ TODO: + + - + + + -- cgit v1.2.3