go-test
Installation
SKILL.md
Go Test
Go has a built-in testing framework in the testing package. It follows Go's effective, minimalist philosophy: no magic, just code.
When to Use
- Go Projects: It is the standard. No 3rd party runner needed.
- Benchmarks: Built-in support (
func BenchmarkXxx(b *testing.B)).
Quick Start
// main_test.go
package main
import "testing"