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:
.ts
)..wd
)..jti
)..jtx
).runtests
command.
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.