1

Looking for a way to get a visual report about:

  1. overall test success percentage over time (information about if and how quickly tests are going greener)
  2. visualised single test results over time (to easily notice test gone red that has been green for long time or vice versa to pay attention to a test that has just gone green)
  3. any other visual statistics that would benefit testers and the project as a whole

Basically a tool that would generate results from the whole test results directory not just off the single (daily) run.

Generally it seems it could be done using XSLT, but it doesn't seem to have much flexibility to work with multiple files at the same time.

Does such a tool exist already?

3 Answers3

1

I feel fairly courageous to claim that most Continuous Integration Engines such as Hudson (for Java) provide such capability either natively or through plugins. In Hudson's case there's a few code coverage plugins available already and I think it does basic graphs from unit tests automatically by itself.

Oh and remember to configure the CI properly, for example our Hudson polls CVS every 10 minutes and if it sees any changes, it does all the associated tricks (get updated .java files, compile, run tests, verify dependencies etc.) to see if the build is still OK or not.

Esko
  • 29,022
  • 11
  • 55
  • 82
  • In 2023, Bitbucket (unfortunately, one of the top platforms) is still lacking most useful features of Junit reporting (historical comparison, attachments etc) – Christian Apr 07 '23 at 07:26
0

There's such new report supporting NUnit \ JUnit called Allure. To retrieve information from NUnit you need to use NUnit adapter, for JUnit - read the following wiki page. You can use it with Jenkins via respective plugin.

vania-pooh
  • 2,933
  • 4
  • 24
  • 42
0

Hudson will do this and it will work with Nunit (here), Junit (natively), and MSTest.exe tests using the steps I outline here. It does all that you require and more. Even if you want it to ONLY run tests and give you feedback on those, it can.

Community
  • 1
  • 1
Allen Rice
  • 19,068
  • 14
  • 83
  • 115