summaryrefslogtreecommitdiff
path: root/src/testing/testing.go
Commit message (Expand)AuthorAgeFilesLines
* testing: clarify T.Name returns a distinct name of the running testChangkun Ou2021-07-271-1/+5
* testing: clarify in docs that TestMain is advancedMatt T. Proud2021-07-151-0/+2
* testing: add TB.SetenvRuss Cox2021-07-011-0/+1
* testing: drop unusual characters from TempDir directory nameTobias Klauser2021-06-171-12/+22
* testing: add -shuffle=off|on|N to alter the execution order of tests and benc...Paschalis Tsilias2021-04-281-0/+22
* testing: document that TestMain can be used with benchmarksJulien Tant2021-04-271-3/+3
* testing: remove data races so that parallel benchmarks can safely call .Fatal...Michael Fraenkel2021-04-191-10/+16
* testing: clarify when Cleanup is calledCarlo Alberto Ferraris2021-04-021-1/+1
* testing: update permitted number of -race goroutinesIan Lance Taylor2021-03-241-1/+1
* testing: allow parallel-subtest goroutines to exit when the subtest is completeBryan C. Mills2021-03-191-6/+7
* testing: update helperNames just before checking itTao Qingyun2021-03-191-8/+7
* testing: fix typo in a commentfanzha022021-03-101-1/+1
* testing: add TB.SetenvAlexey Vilenski2021-03-051-0/+42
* 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