Vote count:
0
I wanted to ask if you have any techniques for covering try-with-resource with unit tests. I'm using it to open some stream and eclemma is showing me that I have uncovered branches on this try-with-resource block. I understand that this block is apparently translated into something else after compilation, but does that mean that I can't have 100% coverage with emma if I use this? Do you have any techniques to handle this issue? I like my coverage 100%.
Thanks!
asked 52 secs ago
try-with-resource unit test coverage
Aucun commentaire:
Enregistrer un commentaire