From d03c08358f2eb769b572ac6add4ba4a6558a52dc Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 5 May 2020 21:52:39 +0200 Subject: [PATCH] ant: Improve running of testsuite This allows running an individual test class by specifying -Dsingle-test-class=path.to.Classs and methods within the specified class by specifying -Dsingle-test-methods=testMethod1,testMethod2. Additionally, this improves the error output, but not showing full stderr/stdout output when running the full test suite, and by generating a browsable HTML report with test results (including stdout/stderr output). When single-test-class is used, detailed output (including stdout/stderr) is still printed directly. This also moves the test result XML files into a subdirectory for clarity, which is removed before starting a testrun (so the HTML report does not include older test results). --- app/build.xml | 42 ++++++++++++++++++++++++++++++++++++++++-- build/build.xml | 8 +++++++- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/app/build.xml b/app/build.xml index a29269902..8b723f660 100644 --- a/app/build.xml +++ b/app/build.xml @@ -109,7 +109,20 @@ - + + + + + + + + + + + + + + @@ -121,9 +134,20 @@ + + + + + + - + + + + + + @@ -131,6 +155,20 @@ + + + + + + + + + + + + + + diff --git a/build/build.xml b/build/build.xml index 2b08fff92..38c9ce5f8 100644 --- a/build/build.xml +++ b/build/build.xml @@ -183,7 +183,13 @@ - + + + + + + +