From: Tobias Klauser
- The testing.T type now has a Deadline method
- that reports the time at which the test binary will have exceeded its
- timeout.
-
- A TestMain function is no longer required to call
- os.Exit. If a TestMain function returns,
- the test binary will call os.Exit with the value returned
- by m.Run.
-
@@ -448,6 +432,20 @@ TODO
+ The testing.T type now has a
+ Deadline method
+ that reports the time at which the test binary will have exceeded its
+ timeout.
+
+ A TestMain function is no longer required to call
+ os.Exit. If a TestMain function returns,
+ the test binary will call os.Exit with the value returned
+ by m.Run.
+
The new methods
T.TempDir and