Tyler DeWitt
Tyler DeWitt

Reputation: 23576

List jUnit Tests That Were Run

Is there a way to get a list of the jUnit tests that were run for the purpose of including that list in a report?

Rather than copying the 80 unit tests I ran, I was hoping to output it as html or a csv that I could then turn into a figure for my report.

Extra points if the pass/fail status of each test were included.

Upvotes: 0

Views: 128

Answers (1)

Matthew Farwell
Matthew Farwell

Reputation: 61705

It depends how you run them, but if you're using maven, then the surefire plugin produces a report for you.

If you're using ant, see How do I use Ant to create HTML test reports?

Upvotes: 1

Related Questions