microsoft/vstest-action

Run VSTest and upload result logs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
testAssemblyRun tests from the specified filesyes**\\*test*.dll\n!**\\*TestAdapter.dll\n!**\\obj\\**
searchFolderFolder to search for the test assembliesyes
testFiltercriteriaAdditional criteria to filter tests from Test assembliesno
vstestLocationMethodSpecify which test platform should be used. Valid values are: `version` and `location`)no
vsTestVersionThe version of Visual Studio test to use. If latest is specified it chooses Visual Studio 2017 or Visual Studio 2015 depending on what is installed. Visual Studio 2013 is not supported. Valid values are: `latest`, `14.0`, `15.0`, and `16.0`no
vstestLocationSpecify the path to VSTestno
runSettingsFilePath to runsettings or testsettings file to use with the testsno
pathToCustomTestAdaptersDirectory path to custom test adapters. Adapters residing in the same folder as the test assemblies are automatically discoveredno
runInParallelIf set, tests will run in parallel leveraging available cores of the machine. This will override the MaxCpuCount if specified in your runsettings file. Valid values are: `true` and `false`no
runTestsInIsolationRuns the tests in an isolated process. This makes vstest.console.exe process less likely to be stopped on an error in the tests, but tests might run slower. Valid values are: `true` and `false`no
codeCoverageEnabledCollect code coverage information from the test runno
otherConsoleOptionsOther console options that can be passed to vstest.console.exeno
platformBuild platform against which the tests should be reported. Valid values are: `x86`, `x64`, and `ARM`no
resultLogsArtifactNameTest result logs artifact nameyesvs-test-result-logs
ifNoFilesFoundThe desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail warn
retentionDaysDuration after which artifact will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page.

no outputs