Run "ant checkTest" in exhaustive mode

Description

When running a single test on the command line, it is usually desired for it to be run in exhaustive mode, since you don't have to wait for the full test suite, and you can always selectively run a smaller test. We should make it the behavior that "ant checkTest" runs tests in exhaustive mode.

Activity

Show:
Yoshito Umaoka
March 10, 2020, 1:28 AM

Sorry - I confirmed it does not work. I looked at build.xml carefully and found checkTest target does not have a mechanism to pass generic arguments.

Shane Carr
March 10, 2020, 1:15 AM

If I run:

ant checkTest -Dtestclass='com.ibm.icu.dev.test.number.ExhaustiveNumberTest' -DICU.exhaustive=10

I get:

[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.082 sec

So that extra ant argument doesn’t appear to be sufficient.

Yoshito Umaoka
March 10, 2020, 12:22 AM

I think this one - http://site.icu-project.org/setup/java/ant#TOC-Test-arguments-and-running-just-one-test-or-the-tests-of-just-one-test-class with extra param -DICU.exhaustive=10 can be used for running a single test with exhaustive mode.

 

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Shane Carr

Reporter

Shane Carr

Components

Priority

medium

Time Needed

Minutes

Fix versions