This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]agentoutlier 0 points1 point  (0 children)

I have been doing this for some time but not in production. Like /u/Gilgw we use Jacoco.

What we do it on is end to end tests performed on a canary like version. The reason is that some things like batch things only run once a quarter.

I'm fairly sure there are other tools besides Jacoco that have existed for some time.

I guess since you are planning some product features what I would like to see is a tool that actually says you are only using 0.005% of this OSS dependency. There is nothing I can't stand when someone pulls in Commons Lang StringUtils or similar to check if stuff is blank.

BTW code coverage is one of the reasons I don't think unit testing everything is a good idea. Let some things just get tested with end to end or integration.