1.0 KiB
1.0 KiB
Testing Guide
Flutter
Run unit and widget tests:
flutter test
Run integration tests when the integration_test directory exists and contains integration test files:
flutter test integration_test
Patrol
Run Patrol tests:
patrol test
Go
Run Go unit tests:
cd ../xworkmate-bridge
go test ./...
CI Coverage
- Pull requests in
xworkmate-appuse theverifystage as a static-analysis gate and always runflutter analyze. - Static analysis also runs
scripts/check-no-app-ffi.shso app packaging cannot reintroduce the retired Codex FFI copy/embed path. - Widget, integration, and Patrol suites are owned by their dedicated commands and release validation flows, not by the lightweight
verifygate. - Pushes to
main, version tags, and manual workflow runs publish build artifacts and update the GitHub Release entry for that release mode. xworkmate-bridgeGo tests run in the companion repository.release/*branches run Patrol tests in addition to the PR chain.