go/doc/next
Damien Neil bb1ca7ae81 cmd/go, testing: add TB.ArtifactDir and -artifacts flag
Add TB.ArtifactDir, which returns a directory for a test to store
output files in. Add a -artifacts testflag which enables persistent
storage of artifacts in the output directory (-outputdir, or the
current directory by default).

Fixes #71287

Change-Id: I5f6515a6cd6c103f88588f4c033d5ea11ffd0c3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/696399
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2025-10-07 14:39:32 -07:00
..
6-stdlib cmd/go, testing: add TB.ArtifactDir and -artifacts flag 2025-10-07 14:39:32 -07:00
1-intro.md doc/next: initialize 2025-07-23 11:41:17 -07:00
2-language.md doc/go_spec.html: document new(expr) 2025-09-23 12:08:27 -07:00
3-tools.md cmd/doc: delete 2025-07-24 09:59:36 -07:00
4-runtime.md doc/next: initialize 2025-07-23 11:41:17 -07:00
5-toolchain.md cmd/dist: require Go 1.24.6 as minimum bootstrap toolchain 2025-08-11 14:25:55 -07:00
7-ports.md all: remove support for windows/arm 2025-08-06 14:28:12 -07:00