Unit test duration in Sonar

116 views
Skip to first unread message

kuba.bo...@gmail.com

unread,
Oct 9, 2017, 9:03:59 AM10/9/17
to SonarQube

Hi,
 I can't seem to find unit test duration in Sonar.
Googling returns no useful result and it seems there is no metric like this: https://docs.sonarqube.org/display/SONAR/Metric+Definitions

I'm asking about it because it seems weird that such a basic thing would be missing. JUnit provides this data out of the box, and all other reporting plugins use it (e.g. Jenkins or Maven)

G. Ann Campbell

unread,
Oct 11, 2017, 9:18:47 AM10/11/17
to SonarQube
Hi,

Are you actually feeding the data in?


Ann

Jakub Bocheński

unread,
Oct 11, 2017, 9:29:10 AM10/11/17
to G. Ann Campbell, SonarQube
Hi,
 actually I found it this time

It's a bit weird to have test duration as a coverage measure. Execution time has no relation to code coverage


Jakub Bocheński

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/8xByMDCehdQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/e9e1f54f-fa3e-4940-9ce9-1a30aaea2cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

G. Ann Campbell

unread,
Oct 11, 2017, 9:31:56 AM10/11/17
to Jakub Bocheński, SonarQube
Hi Jakub,

I don't disagree with you, but we don't know where else to put it. :-D


Ann



---
G. Ann Campbell | SonarSource
Product Manager
@GAnnCampbell
Reply all
Reply to author
Forward
0 new messages