-
Notifications
You must be signed in to change notification settings - Fork 431
Typemock Task YAML
Richard Fennell edited this page Oct 25, 2018
·
2 revisions
DECPRICATED The Typemock package contains the following tasks. The table show the possible variables that can be used in YAML Azure DevOps Pipeline configurations
(deprecated - use official Typemock tasks) Run tests with Visual Studio test runner wrappered by TMockRunner
# (deprecated) Typemock TMockRunner
# Description - (deprecated - use official Typemock tasks) Run tests with Visual Studio test runner wrappered by TMockRunner
- task: Typemock
inputs:
# Required arguments
testAssembly: **\*test*.dll;-:**\obj\**
company:
license:
autodeploypath:
-
Argument: testAssembly
-
Description: Test binaries to run tests on. Wildcards can be used. For example,
**\*test*.dll;-:**\obj\**
for all dlls with test in name while excluding files in any sub-directory named obj. - Type: filePath
- Required: True
- Default (if defined): *test.dll;-:*\obj**
-
Description: Test binaries to run tests on. Wildcards can be used. For example,
-
Argument: testFiltercriteria
- Description: Filter criteria for the tests.
- Type: string
- Required: False
- Default (if defined):
-
Argument: platform
- Description:
- Type: string
- Required: False
- Default (if defined):
-
Argument: configuration
- Description:
- Type: string
- Required: False
- Default (if defined):
-
Argument: runSettingsFile
- Description: Path to runsettings file on disk or choose file from the repository.
- Type: filePath
- Required: False
- Default (if defined):
-
Argument: overrideTestrunParameters
- Description: Override parameters defined in the TestRunParameters section of runsettings file. For example: Platform=$(platform);Port=8080
- Type: string
- Required: False
- Default (if defined):
-
Argument: company
- Description: The company name for the license key to enable Typemock Isolator
- Type: string
- Required: True
- Default (if defined):
-
Argument: license
- Description: The license key to enable Typemock Isolator
- Type: string
- Required: True
- Default (if defined):
-
Argument: autodeploypath
- Description: The path to autodeploy path for Typemock Isolator
- Type: filePath
- Required: True
- Default (if defined):
-
Argument: codeCoverageEnabled
- Description: Whether code coverage needs to be enabled.
- Type: boolean
- Required: False
- Default (if defined): False
-
Argument: vsTestVersion
- Description: The version of VSTest to use.
-
Type: pickList
- 14.0
- 12.0
- Required: False
- Default (if defined): 14.0
-
Argument: pathtoCustomTestAdapters
- Description: Path to custom adapters.
- Type: string
- Required: False
- Default (if defined):
-
Argument: otherConsoleOptions
- Description: Other console options.
- Type: string
- Required: False
- Default (if defined):