Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Show specific failed test in sonar UI #72

Open
yarosman opened this issue Dec 2, 2019 · 1 comment
Open

Show specific failed test in sonar UI #72

yarosman opened this issue Dec 2, 2019 · 1 comment

Comments

@yarosman
Copy link
Contributor

yarosman commented Dec 2, 2019

Now if some test fails in you Spec.scala and you publish this report to sonar, you will see only the failed Spec.file but not specific failed test.

It is very actual when you have integration tests

@mwz
Copy link
Member

mwz commented Dec 2, 2019

Actually, I think this should work.
sonar-scala supports multiple values set for the sonar.tests property e.g. src/test/scala, src/it/scala and our JUnit sensor also reports metrics for the number of errors, failed and skipped tests so I think it should work, although I haven't tested this scenario.

Did you try to set this up?
Are you using our community plugin sonar-scala the official one - SonarScala?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants