Merge branch 'develop' of https://source.jalview.org/git/jalview.git into develop
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 18 Sep 2015 15:35:39 +0000 (16:35 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 18 Sep 2015 15:35:39 +0000 (16:35 +0100)
1  2 
doc/UnitTesting.html

diff --combined doc/UnitTesting.html
@@@ -24,7 -24,7 +24,7 @@@
  <h1> Unit testing in Jalview </h1>
  
  <p>
- In June 2015, the Jalview team adopted <a href=http://testng.org/doc/index.html>TestNG</a> as the favourite unit testing framework. Consequently all existing JUnit tests were ported to TestNG.
+ In June 2015, the Jalview team adopted <a href=http://testng.org/doc/index.html>TestNG</a> for handling unit tests, and all existing JUnit tests were ported to TestNG.
  
  
  <h2>Test Groups</h2>
@@@ -83,18 -83,17 +83,17 @@@ The TestNG tests for Jalview can be exe
        <ul>
              <li>Ensure that you have TestNG plugin correctly install for eclipse</li>
              <li>Ensure that your test classes are error free and properly annotated</li>
 -            <li>Create a lunch configuration "Select the Run / Run... (or Run / Debug...) menu and create a new TestNG configuration"</li>
 +            <li>Create a launch configuration "Select the Run / Run... (or Run / Debug...) menu and create a new TestNG configuration"</li>
            <li>Run the tests by executing the configuration target created above</li>
          </ul> 
        A more detailed guide for installing and executing TestNG in eclipse is available at <a href=http://testng.org/doc/eclipse.html>testng.org/doc/eclipse.html</a> <br>&nbsp;
    </li>
    <li><b>From Ant:</b> 
-         </br> To execute Jalview unit test from ant please take the following steps:
+         </br>The ant task 'testng' will run Jalview's tests. You should:
        <ul>
              <li>Ensure that you have ant installed</li>
              <li>Ensure that your test classes are error free and properly annotated</li>
-             <li>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</li>
-           <li>Add a TestNG run target to your main ant build file, and execute the target.</li>
+             <li>Specify the desired group of tests by passing a comma separated list of one or more groups via -Dtestng-groups=""</li>
          </ul> 
          A more detailed guide for executing TestNG from ant is available at <a href=http://testng.org/doc/ant.html>http://testng.org/doc/ant.html</a>
    </li>