marking integration tests
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Clippy (push) Failing after 1m54s
CI / Cargo Audit & Deny (push) Successful in 33s
CI / Web Blocking Checks (push) Successful in 49s
CI / Security Blocking Checks (push) Successful in 8s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Successful in 37s
CI / Tests (push) Failing after 8m46s
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Clippy (push) Failing after 1m54s
CI / Cargo Audit & Deny (push) Successful in 33s
CI / Web Blocking Checks (push) Successful in 49s
CI / Security Blocking Checks (push) Successful in 8s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Successful in 37s
CI / Tests (push) Failing after 8m46s
This commit is contained in:
12
Makefile
12
Makefile
@@ -19,7 +19,8 @@ help:
|
||||
@echo " make test - Run all tests"
|
||||
@echo " make test-common - Run tests for common library"
|
||||
@echo " make test-api - Run tests for API service"
|
||||
@echo " make test-integration - Run integration tests"
|
||||
@echo " make test-integration - Run integration tests (common + API)"
|
||||
@echo " make test-integration-api - Run API integration tests (requires DB)"
|
||||
@echo " make check - Check code without building"
|
||||
@echo ""
|
||||
@echo "Code Quality:"
|
||||
@@ -88,13 +89,18 @@ test-api:
|
||||
test-verbose:
|
||||
cargo test -- --nocapture --test-threads=1
|
||||
|
||||
test-integration:
|
||||
test-integration: test-integration-api
|
||||
@echo "Setting up test database..."
|
||||
@make db-test-setup
|
||||
@echo "Running integration tests..."
|
||||
@echo "Running common integration tests..."
|
||||
cargo test --test '*' -p attune-common -- --test-threads=1
|
||||
@echo "Integration tests complete"
|
||||
|
||||
test-integration-api:
|
||||
@echo "Running API integration tests..."
|
||||
cargo test -p attune-api --features integration-tests -- --test-threads=1
|
||||
@echo "API integration tests complete"
|
||||
|
||||
test-with-db: db-test-setup test-integration
|
||||
@echo "All tests with database complete"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user