✨ 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:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user