- Introduced a new `.env.test.example` file for integration test configuration. - Added a `Makefile` to streamline test commands for unit and integration tests. - Implemented an integration testing harness with support for PostgreSQL, MinIO, and Redis using testcontainers. - Created a suite of integration tests covering health checks and user management functionalities. - Enhanced CI workflow to include integration tests with necessary environment variables.
17 lines
444 B
Makefile
17 lines
444 B
Makefile
.PHONY: test test-integration test-integration-mail test-integration-admin test-integration-auth
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
test-integration:
|
|
./scripts/test-integration.sh
|
|
|
|
test-integration-mail:
|
|
./scripts/test-integration.sh ./internal/integrationtest/mail/...
|
|
|
|
test-integration-admin:
|
|
./scripts/test-integration.sh ./internal/integrationtest/admin/...
|
|
|
|
test-integration-auth:
|
|
./scripts/test-integration.sh ./internal/integrationtest/auth/...
|