added commandline and stdin tests using testscript

This commit is contained in:
2023-12-07 13:42:41 +01:00
parent d2db420837
commit d0376a63e3
22 changed files with 131 additions and 7 deletions

View File

@@ -57,8 +57,8 @@ test:
go test -v ./...
singletest:
@echo "Call like this: ''make singletest TEST=TestPrepareColumns"
go test -run $(TEST)
@echo "Call like this: make singletest TEST=TestPrepareColumns ARGS=-v"
go test -run $(TEST) $(ARGS)
cover-report:
go test ./... -cover -coverprofile=coverage.out