Can I run one test from the Scala test suite?

You can run the Scala partest test suite with something like ant test , but is it possible to just restart one failed test?

In addition, is it possible to run only those tests that have not been run in a test run before?

+4
source share
1 answer

If you reference the Scala repository assembly and partest test suite, after completing the default ant build task, you can run:

 test/partest --failed 

to run the last set of failed tests or:

 test/partest test/files/<folder>/<testname> 

It is assumed that you have already done:

 test/partest --all 

or called partest for some other category of tests.

+5
source

All Articles