News for hackers. Stuff that matters.
Re:Code coverage for Go integration tests by FiloSottile on Wednesday March 08, 2023 @06:52PM (#35076407)
No idea if the technique was original, it’s been too long, but I wrote about it on the Cloudflare blog in 2016. https://blog.cloudflare.com/go-coverage-with-external-tests/

Anyway, very happy to see the team ship first class support for it. It immediately made coverage support in testscript much more natural, too. https://github.com/rogpeppe/go-internal/pull/201

Re:Code coverage for Go integration tests by aleksi on Thursday March 09, 2023 @01:19AM (#35078741)
Elastic wrote about that in 2015: https://www.elastic.co/blog/code-coverage-for-your-golang-sy.... I guess multiple people figured it out independently.