Go Testing: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
Go comes with | Go comes with a lightweight test framework that includes the [[Go_Tool#test|<code>go test</code>]] command and the <code>testing</code> package. | ||
The tests live in <code>*_test.go</code> files. | |||
Also see [[Go_Packages#External_Test_Packages|external test packages]]. | Also see [[Go_Packages#External_Test_Packages|external test packages]]. | ||
=TO DEPLETE= | =TO DEPLETE= | ||
<font color=darkkhaki>To deplete, merge and delete this: [[Go Concepts - Testing]]</font> | <font color=darkkhaki>To deplete, merge and delete this: [[Go Concepts - Testing]]</font> |
Revision as of 21:20, 8 September 2023
External
Internal
Overview
Go comes with a lightweight test framework that includes the go test
command and the testing
package.
The tests live in *_test.go
files.
Also see external test packages.
TO DEPLETE
To deplete, merge and delete this: Go Concepts - Testing