Run Tests Job
Run Tests Job
Section titled “Run Tests Job”Run your Flutter test suite with flutter test.
Configuration
Section titled “Configuration”| Option | Description | Default |
|---|---|---|
| Test Path | Directory or file | test/ |
| Coverage | Generate coverage report | false |
Commands
Section titled “Commands”flutter test# or with coverageflutter test --coverageBehavior
Section titled “Behavior”- Pipeline fails if any tests fail
- Test results are reported in the build logs
- Coverage reports uploaded as artifacts (if enabled)
Example Pipeline
Section titled “Example Pipeline”┌──────────┐ ┌───────────┐ ┌───────┐│ On Push │────▶│ Run Tests │────▶│ Build │└──────────┘ └───────────┘ └───────┘Place tests early in your pipeline to fail fast.