Go Black Box Testing with Courage and Coverage

At GopherCon 2023, in San Diego, California, United States
Cover for Go Black Box Testing with Courage and Coverage


Share on

Test coverage is one of the essential metrics of codebase health and one of the most controversial. Coverage obtained from white-box tests may bring about unfound confidence if we rely heavily upon the use of fake objects (mocks, stubs, etc.). On the other hand, coverage information from end-to-end tests and benchmarks shows the real picture. But how can we calculate coverage when running a Go binary? Since Go 1.20, we have had the application coverage profiling feature. And, to demonstrate its power, I need just a few minutes!

Attend the event

In the same orbit

Explore more events

Contact us

We’d love to hear from you! We’re not really all that evil, and we love discussing potential projects, intriguing ideas, and new opportunities. Complete the form below or drop us a line at surrender@evilmartians.com. Alternatively, schedule a Calendly appointment with us right now!

Martians at a glance
years in business

A product development consultancy that works with startups and established businesses, while also creating open source-based products and services