Add verbose to test
This commit is contained in:
parent
e4a19a6bb8
commit
dad5586339
4
Makefile
4
Makefile
@ -18,12 +18,12 @@ clean:
|
|||||||
# Run all tests
|
# Run all tests
|
||||||
test: generate
|
test: generate
|
||||||
@echo "Running all tests..."
|
@echo "Running all tests..."
|
||||||
@go test -count=1 ./...
|
@go test -v -count=1 ./... --coverprofile=coverage.out
|
||||||
|
|
||||||
# Run unit tests only (faster, no integration tests)
|
# Run unit tests only (faster, no integration tests)
|
||||||
test-unit:
|
test-unit:
|
||||||
@echo "Running unit tests..."
|
@echo "Running unit tests..."
|
||||||
@go test -v -count=1 -short ./...
|
@go test -v -count=1 ./...
|
||||||
|
|
||||||
# Run integration tests only
|
# Run integration tests only
|
||||||
test-integration:
|
test-integration:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user