wonderforgelabs/.NET Test Shard
Run .NET tests in a specific shard without requiring manual test annotations
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| shard | Current shard number (1-based) | yes | — |
| total-shards | Total number of shards | yes | — |
| test-project | Path to the test project or solution | yes | — |
| filter | Optional test filter expression (passed to dotnet test --filter) | no | "" |
| configuration | Build configuration (Debug, Release) | no | Release |
| no-build | Skip building (use when tests are pre-built) | no | false |
| results-directory | Directory to output test results | no | TestResults |
| additional-args | Additional arguments to pass to dotnet test | no | "" |
| verbosity | Test output verbosity (quiet, minimal, normal, detailed, diagnostic) | no | normal |
Outputs
| name | description |
|---|---|
| tests-run | Number of tests run in this shard |
| tests-passed | Number of tests passed |
| tests-failed | Number of tests failed |
| tests-skipped | Number of tests skipped |
| result-file | Path to the directory containing TRX result files (multiple files when testing solutions with multiple assemblies) |