5// Package testing provides support for automated testing of Go packages.
6// It is intended to be used in concert with the "go test" command, which automates
7▶// execution of any function of the form
8//
9// func TestXxx(*testing.T)
· · ·
9▶// func TestXxx(*testing.T)
10//
11// where Xxx does not start with a lowercase letter. The function name
· · ·
11▶// where Xxx does not start with a lowercase letter. The function name
12// serves to identify the test routine.
13//
· · ·
14▶// Within these functions, use [T.Error], [T.Fail] or related methods to signal failure.
15//
16// To write a new test suite, create a file that
· · ·
17▶// contains the TestXxx functions as described here,
18// and give that file a name ending in "_test.go".
19// The file will be excluded from regular
+ 284 more matches in this file