0

I have a project where I import my unit test results with the Generic Coverage Plugin. My code is written in Javascript.

Now my problem is: I have this widget that contains the percentage of my successful tests. I can see that in every test file. But what I don't know is: Where are the results of each test? Where can I see which tests are failing?

I saw screenshots on the Internet, but I cannot find them in my sonarqube installation...

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
Jessica Weber
  • 132
  • 2
  • 11
  • Which SonarQube version ? how does the 'Unit Tests Coverage' widget look currently ? what are you targeting ? – Nicolas B. Apr 20 '16 at 07:19
  • Version 5.4. [Widget on Dashboard](http://www.bilder-upload.eu/show.php?file=9793dc-1461143876.png) If i click on tests or the percentage of successful tests i get only [this](http://www.bilder-upload.eu/show.php?file=9fbd39-1461144189.png). I cannot find a list of the successful or failed tests – Jessica Weber Apr 20 '16 at 08:59

1 Answers1

0

It's bit hidden. Clicking on the "Failures" link should display only test files which have failures: choose one test file. Then, next to the number of issues of the test file, there's a button for "More actions" (this same button is at the top right in this example running on 5.5) . Click on it and then on "Show Details" or "Show Measures": you should have a list of all tests with their status.

Pierre-Yves
  • 1,476
  • 10
  • 15