6330N/AAnt options to control the tests:
6330N/A Writes the unit test output to the console.
6330N/A tests provide continuous progress of the tests that are being
6330N/A run. The specific options to set for this property are
6330N/A all: enables all progress (slows tests)
6330N/A default: same as "time,count,restarts"
6330N/A time: timing information for the tests
6330N/A count: # of run test classes, methods, and invocations
6330N/A memory: running total of memory usage (slows tests)
6330N/A threadcount: running total of active threads
6330N/A threadchange: +/- changes for active threads between tests
6330N/A restarts: running total of in-core server restarts
6330N/A To specifying multiple values, nseparate them with ',' and
6330N/A quote the entire value. For instance, when you want the default
6330N/A Enabling memory progress slows down the tests significantly.
6330N/A Include the otherwise undocumented property "gcs" to see how
6330N/A much time each progress line spends doing garbage collections
6330N/A to get an accurate measure of memory usage.
6330N/A A new line of progress is written when TestNG completes running tests
6330N/A for a class. This progress is reported immediately before TestNG
6330N/A starts to run the first test of the next class. All @BeforeClass
6330N/A and @BeforeMethod methods will have been invoked for the next
6330N/A class as well as the @DataProvider (if any) for the first test method.
6330N/A Keep this in mind when debugging memory usage, running times, and
6330N/A for example has TestNG dump the maximum amount of debugging
6330N/A output to stdout. This output is useful to check the order
6330N/A in which test methods are invoked. Valid values are integer
6330N/A values from 0 (no output) to 5 (maximum output). Since this
6330N/A pauses the test suite whenever a failure occurs allowing you to inspect
6330N/A the server more closely in the failure state
6330N/A copies the classes into the test server root. This enables you to run
6330N/A the server tools on the test server. It can slow down the test startup
6330N/A so the files are not copied by default.
6330N/A Runs only the tests that failed last time.
6330N/A for example only include debug messages in the core
6330N/A package that are related to data access and at the
6330N/A verbose level or higher. The syntax of this target
6330N/A property when starting ${SHORT_NAME}.
6330N/A A space separated list of source directories (relative to the ant base
6330N/A directory), whose classes should be included in the coveragediff report.
6330N/A for example excludes the slow tests. Each value is expected
6330N/A or 'exclude' followed by the '=' character and then a group name.
6330N/A For multiple group clauses, separate them with a ',' and
6330N/A quote the entire value. Debug logging is disabled.
6330N/A Comma separated list of packages to test.
6330N/A Comma separated list of fully qualified names of classes to test.
6330N/A Comma separated list of methods incl. fully qualified names of classes
6330N/A to test. Debug logging is disabled.
6330N/A for example will allow you to remotely debug the unit tests from
6330N/A the debugger of your choice by pointing it at port 5005.
6330N/A The unit tests will not start to run until the debugger is attached