X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2FUnitTesting.html;h=801f06494946db274720f2bba2b84c986d288978;hb=124d129cc007fbfc84039610b364df62efc72707;hp=8969b9d4e7c0a1b9d0fcba3853212c37ef72238d;hpb=02615f4ca92570e571d166aeb8d9c0bf6531424d;p=jalview.git
diff --git a/doc/UnitTesting.html b/doc/UnitTesting.html
index 8969b9d..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
@@ -83,18 +83,17 @@ The TestNG tests for Jalview can be executed in any of the following ways:
- Ensure that you have TestNG plugin correctly install for eclipse
- Ensure that your test classes are error free and properly annotated
- - Create a lunch configuration "Select the Run / Run... (or Run / Debug...) menu and create a new TestNG configuration"
+ - Create a launch configuration "Select the Run / Run... (or Run / Debug...) menu and create a new TestNG configuration"
- Run the tests by executing the configuration target created above
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