codebeltnet/.NET Test from Codebelt
An opinionated action that utilizes the test runner in the .NET SDK.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| projects | Optional path to the project(s) file to test. Supports globbing. Default is an empty string. | yes | "" |
| configuration | Defines the build configuration. Default is Release (to reduce risk of surprises when transitioning to Production). | yes | Release |
| verbosity-level | Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. The default is quiet. | yes | quiet |
| test-results-folder-name | The name of the folder where the test results will be written. Default is TestResults. | no | TestResults |
| build-switches | Provides a way to fully customize the build. Default is emopty. See https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-command-line-reference?view=vs-2022#switches for more information. | no | "" |
| blame-hang-timeout | The time to wait for a test to complete before collecting a dump. Default is 10 minutes. | no | 10m |
| blame-hang-dump-type | The type of dump to collect when a test hangs. Default is mini. | no | mini |
| build | Whether to build the project(s) before testing. Default is false. | no | false |
| restore | Whether to restore the project(s) before testing. Default is false. | no | false |
| test-arguments | Additional arguments to pass to the test runner. Default is empty. | no | "" |
Outputs
no outputs