diff options
author | wisberg <wisberg> | 2003-03-06 19:54:46 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-03-06 19:54:46 +0000 |
commit | 6b03a056fbd1c19f292a24bed347e0b9745b440f (patch) | |
tree | 403f8092a05cc066699cbd0bdc8d662d78766c29 /tests/readme-tests-module.html | |
parent | 6a8fa08bcb628ad06c1acdb7f6d8a4e7ea73bc79 (diff) | |
download | aspectj-6b03a056fbd1c19f292a24bed347e0b9745b440f.tar.gz aspectj-6b03a056fbd1c19f292a24bed347e0b9745b440f.zip |
better docs for running the harness, xref for junit
Diffstat (limited to 'tests/readme-tests-module.html')
-rw-r--r-- | tests/readme-tests-module.html | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/tests/readme-tests-module.html b/tests/readme-tests-module.html index 3f6e708a6..c67a20bd7 100644 --- a/tests/readme-tests-module.html +++ b/tests/readme-tests-module.html @@ -80,8 +80,8 @@ Tests differ in the kind of harness they use and their target. These are compiler test cases, the preferred form for any compiler tests. The XML files are test definitions, -and the subdirectories contain the test sources. Many of the -test source files are no longer used. The test definitions are +and the subdirectories contain the test sources (many of which +are unused at present). The test definitions are segregated for convenience as follows: <ul> <li><a href="ajcTests.xml">ajcTests.xml</a>: main test suite. @@ -109,11 +109,22 @@ segregated for convenience as follows: </li> </ul> To run the harness, use <code>org.aspectj.testing.drivers.Harness</code>, -in the <code>testing-drivers</code> module. +in the <code>testing-drivers</code> module. Since that is the main class +for the <code>testing-drivers</code> module, you can build and +run the harness as follows: +<pre> + cd build/ + ../lib/ant/bin/ant build-testing-drivers + cd ../tests + java -jar ../aj-build/jars/testing-drivers-all.jar ajcTests.xml +</pre> + For help on harness options, use <code>-help</code>. -For for help on component options, see the package docs. -Note in particular how to select tests using keywords or supply compiler -arguments on the command line. +For more help on options for harness components, see + <a href="../testing-drivers/src/org/aspectj/testing/drivers/package.html"> + the package documentation for the harness</a>. +Note in particular how to select tests using keywords +and how compiler arguments can be passed on the harness command line. <p> To write a new test, evolve an existing example. See the dtd and/or the javadoc for the testing harness implementation in the @@ -146,10 +157,11 @@ Jacks is the Jikes compiler test suite available at the We have a bash script to run it using ajc and javac and compare the results. - </td> - </tr> - -</table> +<h3><a name="#junit"></a>JUnit</h3> +The JUnit tests should be self-documenting. +For more information on running them, see +<a href="../build/readme-build-and-test-aspectj.html"> + ../build/readme-build-and-test-aspectj.html</a>. </body> </html> |