Add podman-compose/docker-compose integration tests
This commit is contained in:
21
README.md
21
README.md
@@ -288,6 +288,27 @@ go test ./tests/integration -v -run TestIntegration_FullWorkflow
|
||||
|
||||
# Run with timeout
|
||||
go test ./tests/integration -v -timeout 30s
|
||||
|
||||
# Run containerized integration tests with podman/docker-compose
|
||||
make test-compose
|
||||
|
||||
# Or using the shell script directly
|
||||
bash tests/integration/compose_test.sh
|
||||
|
||||
# Run Go-based compose tests (requires RUN_COMPOSE_TESTS=true)
|
||||
RUN_COMPOSE_TESTS=true go test ./tests/integration -v -run TestComposeIntegration
|
||||
```
|
||||
|
||||
### Using Make
|
||||
```bash
|
||||
make help # Show all available targets
|
||||
make build # Build the binary
|
||||
make test # Run all tests
|
||||
make test-unit # Run unit tests only
|
||||
make test-integration # Run integration tests
|
||||
make test-compose # Run containerized tests
|
||||
make run # Build and run the server
|
||||
make dev # Run in development mode
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user