Update test commands to run Ginkgo unit tests in verbose mode. Modify README and Taskfile to reflect changes in test execution and improve clarity on running unit tests.

This commit is contained in:
windyboy
2025-11-16 10:08:26 +08:00
parent 487a0acb48
commit 69fc8cf337
3 changed files with 8 additions and 13 deletions
+3 -3
View File
@@ -55,15 +55,15 @@ tasks:
GO_ENV=${GO_ENV:-dev} go run {{.cmd}} listen
test:
desc: Run Ginkgo unit test suites
desc: Run Ginkgo unit test suites (verbose)
cmds:
- |
if ! command -v ginkgo >/dev/null; then
echo "Install ginkgo (go install github.com/onsi/ginkgo/v2/ginkgo@latest)"
exit 1
fi
- echo "Running Ginkgo unit test suites..."
- ginkgo -r ./cmd ./internal
- echo "Running Ginkgo unit test suites (verbose)..."
- ginkgo -r -v ./...
test-int:
desc: Run integration tests (requires Docker)