X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2FUnitTesting.html;h=801f06494946db274720f2bba2b84c986d288978;hb=009eca4440b4fceafda0607371327edffb7f61c0;hp=5db587b3f2a3cdc498789ba5cb44b56348f74343;hpb=4a43369c96bc932961492509c4008972d4d566e5;p=jalview.git
diff --git a/doc/UnitTesting.html b/doc/UnitTesting.html
index 5db587b..801f064 100644
--- a/doc/UnitTesting.html
+++ b/doc/UnitTesting.html
@@ -24,7 +24,7 @@
Unit testing in Jalview
-In June 2015, the Jalview team adopted TestNG as the favourite unit testing framework. Consequently all existing JUnit tests were ported to TestNG.
+In June 2015, the Jalview team adopted TestNG for handling unit tests, and all existing JUnit tests were ported to TestNG.
Test Groups
@@ -89,12 +89,11 @@ The TestNG tests for Jalview can be executed in any of the following ways:
A more detailed guide for installing and executing TestNG in eclipse is available at testng.org/doc/eclipse.html
From Ant:
- To execute Jalview unit test from ant please take the following steps:
+ The ant task 'testng' will run Jalview's tests. You should:
- Ensure that you have ant installed
- Ensure that your test classes are error free and properly annotated
- - Ensure that the test class or group is available in the TestNG config file. For Jalview this is located in jalview/utils/jalview_testng.xml
- - Add a TestNG run target to your main ant build file, and execute the target.
+ - Specify the desired group of tests by passing a comma separated list of one or more groups via -Dtestng-groups=""
A more detailed guide for executing TestNG from ant is available at http://testng.org/doc/ant.html