Re: [go-nuts] Getting count of tests executed

2016-10-24 Thread Rob Pike
It prints FAIL or PASS for each test, so the simplest way might be to grep -c the output. I suspect that's not the answer you're looking for, however. The testing library in the core packages does not provide this information directly. -je m'appelle rob On Sun, Oct 23, 2016 at 1:23 AM, Dave Hein

[go-nuts] Getting count of tests executed

2016-10-24 Thread Dave Hein
In the output of 'go test' I would like to see a summary containing the count of the number of unit tests executed, the number passed and the number failed. (Why? For reporting produced by automated build system.) Is there any way to get that information? Is there an alternative testing package