-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAge
Milestone
Description
Go version: 1.2 The Overview section of the "testing" package docs could benefit from including this line: ```You write a test by creating a file with a name ending in _test.go that contains functions named TestXXX with signature func (t *testing.T). The test framework runs each such function; if the function calls a failure function such as t.Error or t.Fail, the test is considered to have failed.``` That would help beginners get their bearings. I eventually found that explanation here: http://golang.org/doc/code.html#Testing While writing my first tests I was looking around for something like assertEqual et al, and that would have saved me a little time. Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.FrozenDueToAge