Specifying an Exclude List

You can use an existing configuration file and then specify an exclude list to be used when running tests. The exclude list that you specify in the command string overrides but does not change any exclude list specified in the configuration file.

When specifying an exclude list for a test run, include the commands in the following sequence:

  1. Open the test suite (mytestsuite.ts)
  2. Open a work directory (myworkdir.wd)
  3. Open/initialize a configuration (myconfig.jti)
  4. Specify an exclude list (myexcludelist.jtx)
  5. Include the runtests command.

The following text is a note
To run the following examples you must replace mytestsuite.ts, myworkdir.wd, myconfig.jti, and myexcludelist.jtx with test suite, work directory, .jti and .jtx names that exist on your system. Win32 users must also change "/" file separators to "\" to run these examples.

Command Options Example:
java -jar [jt_dir/lib/]javatest.jar -batch -testsuite mytestsuite.ts -workdir myworkdir.wd -open myconfig.jti -exclude myexcludelist.jtx -runtests

Single String Arguments Example:
java -jar [jt_dir/lib/]javatest.jar -batch "testsuite mytestsuite.ts; workdir myworkdir.wd; open myconfig.jti; exclude myexcludelist.jtx; runtests"