testing: allow benchmarks to print and fail
Refactors the benchmarks and test code.
Now benchmarks can call Errorf, Fail, etc.,
and the runner will act accordingly.
Because functionality has been folded into an
embedded type, a number of methods' docs
no longer appear in godoc output. A fix is
underway; if it doesn't happen fast enough,
I'll add wrapper methods to restore the
documentation.
*** Submitted as 67b329eb1ecb *** testing: allow benchmarks to print and fail Refactors the benchmarks ...
13 years, 10 months ago
(2011-12-20 17:51:44 UTC)
#6
*** Submitted as 67b329eb1ecb ***
testing: allow benchmarks to print and fail
Refactors the benchmarks and test code.
Now benchmarks can call Errorf, Fail, etc.,
and the runner will act accordingly.
Because functionality has been folded into an
embedded type, a number of methods' docs
no longer appear in godoc output. A fix is
underway; if it doesn't happen fast enough,
I'll add wrapper methods to restore the
documentation.
R=bradfitz, adg, rsc
CC=golang-dev
http://codereview.appspot.com/5492060
Issue 5492060: code review 5492060: testing: allow benchmarks to print and fail
(Closed)
Created 13 years, 10 months ago by r
Modified 13 years, 10 months ago
Reviewers:
Base URL:
Comments: 7