Specifying an Exclude List

You can use an existing configuration file and then specify an exclude list to use 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.

Detailed Example of Specifying an Exclude List

The following text is a note
If you run the following examples, 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 \ file separators to run these examples.

See Formatting a Command for descriptions and examples of the command formats that you can use.

Command Options Format Example:
> jtharness -testsuite mytestsuite.ts -workdir myworkdir.wd -open myconfig.jti -exclude myexcludelist.jtx -runtests

Single String Arguments Format Example:
> jtharness "testsuite mytestsuite.ts; workdir myworkdir.wd; open myconfig.jti; exclude myexcludelist.jtx; runtests"


Copyright © 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.