This class is the main entry point for running tests in the TestNG framework. Users can create their own TestNG object and invoke it in many different ways:
- On an existing testng.xml
- On a synthetic testng.xml, created entirely from Java
- By directly setting the test classes
You can also define which groups to include or exclude, assign parameters, etc...
The command line parameters are:
- -d outputdir: specify the output directory
- -testclass class_name: specifies one or several class names
- -testjar jar_name: specifies the jar containing the tests
- -sourcedir src1;src2: ; separated list of source directories (used only when javadoc annotations are used)
- -target
- -groups
- -testrunfactory
- -listener
Please consult documentation for more details. FIXME: should support more than simple paths for suite xmls
@see #usage()
@author
Cedric Beust
@author
Alex Popescu