Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Run Stryker .Net
Run Stryker .Net

Run Stryker .Net

Rogerio Schmitt

|
117 installs
| (1) | Free
Azure Devops extension to run mutation with Stryker .Net.
Get it free

Azure Devops extension to run mutation tests on .NET Core and .NET Framework projects with Stryker.Net.

Note that as of version 1.x this extension only works on windows hosted agents, because it is written in Powershell. I plan to upgrade it to Typescript in the future so it can be used on any type of agent.

Disclaimer: This is not an official Stryker Mutator extension.

How to use

1. Install the extension into your Azure DevOps organization.

  • Installing Azure DevOps extensions.
  • Run Stryker .Net Task latest version.

2. Add the task to your pipeline

  • Copy and paste the following code on your .yml file, and add your own parameters.
- task: run-stryker@1
  inputs:
    testProject: ''
    parameters: ''

3. Run your pipeline

  • To display your mutation results on your pipeline you can use the Mutation Report Publisher.

Parameters

Parameter Description Required
testProject Name of the test project to mutate (e.g. Sample.Tests.csproj). Wild cars are available (e.g. *Tests.csproj). Be sure to match only one test project here. Yes
parameters Parameters wich will be passed to Stryker (e.g. --reporters "['html', 'progress']"). More on the available parameters can be found on the oficcial Stryker .Net configuration docs. No

Sample

- task: run-stryker@1
    displayName: 'Run mutations'
    inputs:
      testProject: '*Tests.csproj'
      parameters: --reporters "['html', 'dashboard']" --dashboard-api-key $(STRYKER_DASHBOARD_API_KEY) -project github.com/$(Build.Repository.Name) -version $(Build.SourceBranchName)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft