Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Output ¶ added in v0.5.0
Output is what the command printed, whichever way it ended.
It answered only for an Ok until the command's own package scope had to be read: that scope is announced by `go test -json` on the stream of a GREEN suite, and a green suite is an Err — so the one run whose output the scope check needs was the one this refused to answer for. The name and the contract now say the same thing: the output belongs to the command, not to the verdict.
What the Ok side is for is unchanged, and it was measured the hard way: the laboratory reads a failing command as a killed mutant, so a refusal to score a red baseline has to show the command's own words — the first version named neither the file nor the pattern, and finding the embedded directory behind it took four measurements that should have been none.