renatoathaydes / spock-reports

This project creates a global extension to Spock to create test reports.
Apache License 2.0
274 stars 68 forks source link

Code coverage in reports #93

Open ChrisCooney opened 7 years ago

ChrisCooney commented 7 years ago

I've seen no mention in your docs about code coverage? Is this a feature you're planning on adding?

renatoathaydes commented 7 years ago

It would be a little useless to add it as most of the code runs by reflection, called as an extension to Spock. Most tests are like system tests due to the nature of the project (it's purpose is to interact with Spock, and that's where the hard part is).

I know the actual coverage used to be near 100%, but with template reports and some other newer features, that dropped a lot because with templates, there's no good way to test all possible things people will do :)

Please do add some automated tool to the build if you would like and make a pull request, though, could be interesting to see what it says!

renatoathaydes commented 7 years ago

I read this in a hurry and misunderstood, I think :)

You're asking about test coverage about the tests that Spock runs in your project?!

Ah, do you have some pointers I can look at?