1

I want to add some hints to my build, to run certain tests "first" without re-running them later.

  1. Simply add Class names to a "priority" string in an input parameter to my test task, or

  2. Have JUnit's testers smart enough to remember/persist failing test class names, so that the next time around the builder runs those first.

What is the most idiomatic way of doing this in Ant?

1 Answer 1

2

The following tools might help you to achieve the desired JUnit test execution order, but they depend on Eclipse usage:

  1. Continuous Testing for Eclipse (CT-Eclipse)
  2. JUnit Max
  3. infinitest

I have not used any of those tools, and I have no Ant-only solution.

You might consider these related posts:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.