summaryrefslogtreecommitdiff
path: root/src/testing/testing.go
Commit message (Expand)AuthorAgeFilesLines
* testing: print late arriving log line in panicJosh Bleecher Snyder2021-02-241-1/+1
* all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTempRuss Cox2020-12-091-3/+2
* testing: reduce memory allocation in HelperBryan Boreham2020-11-111-17/+39
* testing: send t.signal only if there is no panicChangkun Ou2020-09-241-2/+8
* testing: fix panicking tests hang if Cleanup calls FailNowChangkun Ou2020-09-141-1/+11
* testing: make TempDir idempotent for both Cleanup and BenchmarkChangkun Ou2020-09-051-6/+20
* testing: flush test summaries to stdout atomically when streaming outputBryan C. Mills2020-09-021-74/+64
* testing: run a Cleanup registered by a CleanupIan Lance Taylor2020-08-281-29/+47
* testing: restore os.Exit(0) after every call to (*M).RunBryan C. Mills2020-08-281-3/+7
* cmd/go, testing, os: fail test that calls os.Exit(0)Ian Lance Taylor2020-08-271-0/+10
* testing: fix Cleanup race with Logf and ErrorfMichał Łowicki2020-08-251-0/+4
* testing: treat PAUSE lines as changing the active test nameBryan C. Mills2020-08-181-5/+20
* testing: fix quotation marksKatie Hockman2020-07-301-3/+3
* testing: capture testname on --- PASS and --- FAIL linesJean de Klerk2020-06-021-6/+5
* testing: reformat test chatty outputJean de Klerk2020-05-211-15/+66
* testing: clean up remaining TempDir issues from CL 231958Bryan C. Mills2020-05-191-3/+2
* testing: return unique directory inside same base root for TempDirRoger Peppe2020-05-191-1/+9
* testing: tests and benchmarks can assume flag.ParsedDaniel Martí2020-05-081-3/+6
* testing: fix reported caller name for funcs passed to CleanupMichał Łowicki2020-05-051-10/+25
* testing: give short package variable a longer nameBrad Fitzpatrick2020-04-251-7/+7
* testing: replace all GOOS-specific path separators in TempDirTobias Klauser2020-04-251-1/+9
* testing: make TempDir work for subtestsAndrei Tudor Călin2020-04-231-1/+6
* testing: add TB.TempDirBrad Fitzpatrick2020-04-021-0/+30
* testing: fix data race between parallel subtestsChangkun Ou2020-03-191-6/+5
* testing: use "exit code" in documentation consistentlyRodolfo Carvalho2020-03-171-1/+1
* testing: do not require os.Exit in TestMainChangkun Ou2020-03-171-9/+22
* testing: change benchmark example functionMasahiro Furudate2020-02-241-4/+4
* testing: testing: add (*T).Deadline method for test timeoutBryan C. Mills2020-02-211-12/+31
* testing: remove obsolete comment in testing.(*T) docsIan Lance Taylor2020-02-151-1/+0
* testing: clarify that Cleanup is run after subtests complete.Roger Peppe2020-01-181-3/+3
* testing: don't run Cleanup functions until parallel subtests completeIan Lance Taylor2020-01-161-5/+44
* testing: use conventional comments for exported internal funcs & structsvovapi2019-12-101-4/+4
* testing: fix testing docstaisa2019-12-051-1/+1
* testing: implement Cleanup methodRoger Peppe2019-11-041-1/+30
* testing: provide additional information when test funcs panicDamien Neil2019-10-301-2/+11
* testing: stream log output in verbose modeJean de Klerk2019-10-221-3/+10
* Revert "cmd/go: move automatic testing.Init call into generated test code"Bryan C. Mills2019-07-221-5/+0
* testing: callerName only needs one PC in the tracebackKeith Randall2019-05-171-1/+1
* testing: panic on calls to Short/Verbose before ParseRuss Cox2019-05-161-7/+4
* cmd/go: move automatic testing.Init call into generated test codeCaleb Spare2019-05-101-0/+5
* testing: delay flag registration; move to an Init functionCaleb Spare2019-04-291-20/+68
* testing: fix minor bug with mutex profile error messageCaleb Spare2019-04-241-1/+1
* all: join a few chained ifsDaniel Martí2019-03-051-14/+12
* all: fix typos as reported by 'misspell'Leon Klingele2019-02-261-1/+1
* testing: report the failing test in a late log panicIan Lance Taylor2019-01-171-10/+13
* testing: add example to package docLeigh McCulloch2018-11-161-6/+18
* testing: try to Log through parent if test has completedWil Selwood2018-10-101-3/+19
* testing: exit with error if testing.Short is called before flag.ParseIan Lance Taylor2018-08-201-0/+7
* testing: make indentation consistent in sub-testsYury Smolsky2018-05-311-5/+5
* testing: allow marking subtest and subbenchmark functions as HelpersDiogo Pinela2018-05-141-20/+58