added target to execute a single unit test manually

This commit is contained in:
2022-10-16 16:37:26 +02:00
parent da276a1b50
commit 9305f48639

View File

@@ -60,6 +60,10 @@ clean:
test:
go test -v ./...
singletest:
@echo "Call like this: ''make singletest TEST=TestPrepareColumns MOD=lib"
go test -run $(TEST) github.com/tlinden/tablizer/$(MOD)
cover-report:
go test ./... -cover -coverprofile=coverage.out
go tool cover -html=coverage.out