Repository navigation
Reporting plugins added - #88
Conversation
…t/site/index.html' to see the product. Look at all the stuff in the reporting section. This should help other developers discover bugs and improve the application.
|
Thanks! This is great. It's actually just what I needed, ever since I started the transition from TestNG to Spock. Code Coverage in IDEA is not so good, when it's spread across two different testing frameworks. However, the cobertura reports only seem to include JUnit/Spock tests, but not the TestNG tests (e.g. look at the coverage report for the PrimitiveDiffer and then look at its test). I changed the surefire plugin configuration to look like this: I basically replaced the execution configuration with two plugin dependencies. This seemingly allows cobertura to properly instrument all test classes. After doing so, the coverage report looked much more like what I expected. Can you give it a try and send me a new pull request, when you think it works properly? |
|
ok I updated the surefire plugin and committed. Is it good now? |
|
Yep, cool, thanks! |
added some reporting plugins, do a 'mvn site' and then 'firefox target/site/index.html' to see the product. Look at all the stuff in the reporting section. This should help other developers discover bugs and improve the application.
You will also notice in the cobertura report that there is still plenty of room for testing.