Confluent
Confluent logoConfluent · Feature trail

Go Binary Code Coverage

1 post · Apr 2020

What this trail covers

This feature thread tracks the evolution of tools and techniques for measuring code coverage in Go binaries, particularly for end-to-end and system tests. It addresses the limitations of standard Go testing tools when dealing with binaries that execute main functions, handle panics, or call os.Exit(). The focus is on providing a robust and flexible solution for generating instrumented binaries, running them with custom arguments and environment variables, and merging coverage profiles from multiple test runs. This enables better testing and quality assurance for Go-based products and services.

All Confluent trails