You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement real integration testing with FoundryVTT containers
Replace mock-heavy integration tests with real FoundryVTT instances using
testcontainers and felddy/foundryvtt-docker. This addresses critical test
quality issues identified in the existing test suite.
Features:
- Real FoundryVTT container integration via testcontainers
- GitHub Actions CI/CD with Docker services
- Contract testing to validate API response schemas
- Authentication and WebSocket testing with real instances
- Comprehensive error scenario coverage
- Security-conscious fork PR handling with manual approval
Technical Implementation:
- Added testcontainers dependency for programmatic container management
- Created vitest.integration.config.ts for integration test configuration
- Implemented docker-compose.test.yml using proven community container
- Added credential management templates for secure testing
- Created comprehensive integration test suite in tests/integration/
- Added GitHub Actions workflow with real FoundryVTT services
This replaces implementation detail testing with behavior validation,
ensuring tests verify actual FoundryVTT integration rather than mock responses.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments