Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
spec
✓ github.com/sclevine/spec
Define and run a BDD test suite.
package main
import (
"testing"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"
)
func TestMyFeature(t *testing.T) {
suite := spec.New("my feature", spec.Report(report.Terminal{}))
suite("should work", func(t *testing.T) {
// test code
})
suite.Run(t)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.