jeudi 28 avril 2016

Run acceptance tests multiple times to find success ratio (java)

I have a package of JUnit classes that represent my acceptance tests. I am coding a simulation with some randomness and I discovered that for a few of these tests there is a small probability of failure.

What I'd like to do is to run all the tests in the package multiple times and store their success ratio in a csv file.
Each line would be the name of the test and the success ratio.

Is there an automated way to do this with JUnit or Gradle (which I am using for this project)?

Aucun commentaire:

Enregistrer un commentaire