Typemock Task YAML - rfennell/AzurePipelines GitHub Wiki
Typemock
DECPRICATED The Typemock package contains the following tasks. The table show the possible variables that can be used in YAML Azure DevOps Pipeline configurations
TypemockTask
(deprecated - use official Typemock tasks) Run tests with Visual Studio test runner wrappered by TMockRunner
YAML snippet
# (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:
Arguments
- 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):
Advanced
- 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):