]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.13: add release notes for the testing package
authorAndrew <andybons@golang.org>
Tue, 18 Jun 2019 17:32:04 +0000 (13:32 -0400)
committerAndrew Bonventre <andybons@golang.org>
Wed, 19 Jun 2019 21:14:12 +0000 (21:14 +0000)
Change-Id: I4ddbe22061579383ca47e14d0b64a74365fb3d19
Reviewed-on: https://go-review.googlesource.com/c/go/+/182797
Reviewed-by: Katie Hockman <katie@golang.org>
doc/go1.13.html

index 02c0adf32bf7de477863e7e3b0dd05c7b9421891..5655b06d6c16b2cd2956b45dfb02adc70e37302a 100644 (file)
@@ -520,15 +520,17 @@ TODO
 <dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
   <dd>
     <p><!-- CL 112155 -->
-      TODO: <a href="https://golang.org/cl/112155">https://golang.org/cl/112155</a>: stop rounding b.N
+      When running benchmarks, <a href="/pkg/testing/#B.N"><code>B.N</code></a> is no longer rounded.
     </p>
 
     <p><!-- CL 166717 -->
-      TODO: <a href="https://golang.org/cl/166717">https://golang.org/cl/166717</a>: add B.ReportMetric for custom benchmark metrics
+      The new method <a href="/pkg/testing/#B.ReportMetric"><code>B.ReportMetric</code></a> lets users report
+      custom benchmark metrics and override built-in metrics.
     </p>
 
     <p><!-- CL 173722 -->
-      TODO: <a href="https://golang.org/cl/173722">https://golang.org/cl/173722</a>: delay flag registration; move to an Init function
+      Testing flags are now registered in the new <a href="/pkg/testing/#Init"><code>Init</code></a> function.
+      As a result, testing flags are now only registered when running a test binary.
     </p>
 
 </dl><!-- testing -->