Approval-based snapshot testing library for Go (mirror)
at main 21 lines 360 B view raw
1[private] 2default: build review 3 4build: 5 @pushd ./cmd/shutter && go build -o shutter ./main.go && popd 6 7review: 8 @./cmd/shutter/shutter 9 10clean-test: 11 @rm -rf ./__snapshots__ 12 @go test ./... -cover -coverprofile=cover.out 13 14test: 15 @go test ./... -cover -coverprofile=cover.out 16 17cli: 18 @go run cmd/cli/main.go 19 20clean: 21 @rm -rf ./__snapshots__