Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any unit test result referring to any scala test class (using scalatest) won't show in the sonar #32

Open
kknd22 opened this issue Apr 1, 2016 · 4 comments

Comments

@kknd22
Copy link

kknd22 commented Apr 1, 2016

I initially posted the question:
ncredinburgh/sonar-scalastyle#8

I am thinking to add a surefieSonser like in (http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.sonar-plugins/sonar-groovy-plugin/0.6/org/sonar/plugins/groovy/surefire/SurefireSensor.java#SurefireSensor) in this plugin. To make LOC work.
Do you think it is a valid approach?
Thanks
-cl

@maiflai
Copy link

maiflai commented Apr 7, 2016

As per the other thread, I am looking at creating a ScalaTest Sensor for Sonar.

I'm not sure it's any more appropriate to bundle this sensor with scoverage than it is with scalastyle?

I hope to have something ready over the weekend, it's a matter of a few lines of code.

Obviously the tricky part is knowing which lines they are...

@kknd22
Copy link
Author

kknd22 commented Apr 7, 2016

I have a temp work around using
https://github.com/Stratio/sonar-scala-plugin

@Rajshr
Copy link

Rajshr commented Apr 22, 2016

How to publish unit test execution result to Sonar using scoverage plugin?

@maiflai
Copy link

maiflai commented Apr 22, 2016

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

No branches or pull requests

3 participants