Jump to content

Unit testing: Difference between revisions

Added Go
(Added Go)
Line 6:
 
Clearly state whether this support is internal, or external to the interpreter or compiler used.
 
=={{header|Go}}==
Go has good support for unit testing provided by the "testing" package in its standard library in conjunction with the 'go test' command. This is separate from the Go compiler itself which is invoked with the 'go build' (or 'go run') command.
 
For a description of the facilities provided, interested readers should consult the [https://golang.org/pkg/testing/ documentation] for the "testing" package.
 
For a simple example of the testing process, check out the [[Test_a_function#go task]].
 
=={{header|Jsish}}==
9,490

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.