From 8fa468d511b8b1197137ce0ad0ea4260167d2348 Mon Sep 17 00:00:00 2001
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