maurosoft1973/.NET Test
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 |
|---|---|---|---|
| buildSwitches | 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 | "" |
| configuration | Defines the build configuration. Default is Release (to reduce risk of surprises when transitioning to Production). | yes | Release |
| coverageReportFolderName | The name of the folder where the coverage report will be written. Default is Coverage. | no | Coverage |
| 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 |
| projects | Optional path to the project(s) file to test. Pass empty to test whole solution. | yes | test/**/*.csproj |
| testResultsFolderName | The name of the folder where the test results will be written. Default is TestResults. | no | TestResults |
| restoreCacheKey | When set, current workspace will be overwritten with the content of the restore cache. Default is empty. | no | "" |
| uploadBuildArtifactName | The name of the generated build artifact. Default is to BuildArtifact. | no | BuildArtifact |
Outputs
no outputs