For a more honest assessment of your test code coverage, look at branch or edge coverageMore
Author Archives: quiche
Code Coverage – Part III: Statement coverage and some myths
This post is part of a four-part series on code coverage: Part I: An Introduction Part II: A short example Part III: Statement coverage and some myths Part IV: Honest Coverage Consider the following scenario: After running your tests, you find that Service A has 100% statement coverage Service B has 80% statement coverage Service…More
Code Coverage – Part II: A short example
This post is part of a four-part series on code coverage: Part I: An Introduction Part II: A short example Part III: Statement coverage and some myths Part IV: Honest Coverage Golang is an excellent language that supports great tooling, by design (read more here). There are other languages that support coverage analysis natively, but for…More
Code Coverage – Part I: An Introduction
This post is part of a four-part series on code coverage: Part I: An Introduction Part II: A short example Part III: Statement coverage and some myths Part IV: Honest Coverage So, you’ve written some automation tests. Congratulations! Maybe you’ve been writing your test cases treating the system under test as a black box, or…More