added fuzzy testing

This commit is contained in:
2023-12-08 18:37:59 +01:00
parent 49e01565b9
commit 222dc3a734
2 changed files with 71 additions and 5 deletions

View File

@@ -51,10 +51,13 @@ install: buildlocal
install -o $(UID) -g $(GID) -m 444 $(tool).1 $(PREFIX)/man/man1/
clean:
rm -rf $(tool) coverage.out
rm -rf $(tool) coverage.out testdata
test:
go test -v ./...
test: clean
go test ./... $(ARGS)
testfuzzy: clean
go test -fuzz ./... $(ARGS)
singletest:
@echo "Call like this: make singletest TEST=TestPrepareColumns ARGS=-v"