Giter Club home page Giter Club logo

stryker-net's Introduction

Nuget Nuget

Build Status Gitter Waffle.io - Columns and their card count

Stryker.NET

Professor X: For someone who hates mutants... you certainly keep some strange company.
William Stryker: Oh, they serve their purpose... as long as they can be controlled.

Introduction

For an introduction to mutation testing and Stryker's features, see stryker-mutator.io. Looking for mutation testing in JavaScript & Typescript or Scala?

Getting started

Stryker.NET offers you mutation testing for your .NET Core projects. It allows you to test your tests by temporarily inserting bugs. Stryker.NET is installed using NuGet.

Install

To install Stryker.NET on your test project add the following lines to the root of your .csproj file. on your test project.

<ItemGroup>
    <DotNetCliToolReference Include="StrykerMutator.DotNetCoreCli" Version="*" />
    <PackageReference Include="StrykerMutator.DotNetCoreCli" Version="*" />
</ItemGroup>

After adding the references, install the packages by executing dotnet restore inside the project folder.

Usage

Stryker.NET can be used by executing the dotnet stryker command inside your test project folder, using the Stryker.CLI package.

For the full documentation on how to use Stryker.NET, see the Stryker.CLI readme.

Compatibility

Only compatible with .NET Core version 1.1+

Dotnet core runtime 2.1 needs to be available on your system to run dotnet stryker

Supported Mutators

Right now, Stryker.NET supports the following mutations:

  • Arithmetic Operators
  • Equality Operators
  • Boolean Literals
  • Assignment statements
  • Unary Operators
  • Update Operators
  • Checked Statements
  • Linq Methods
  • String Literals

For the full list of all available mutations, see the Stryker.Core readme.

Contributing

Want to help develop Stryker.NET? Check out our contribution guide.

stryker-net's People

Contributors

arpadk avatar bigtalljosh avatar broodjetom avatar cmulder avatar dependabot[bot] avatar dupdob avatar ed-parry avatar fabianeichfeldt avatar fabiantospace avatar hugo-vrijswijk avatar jacrys avatar joostas avatar kashifsoofi avatar kevinlyles avatar konh avatar manuc66 avatar michielpeeters avatar mobrockers avatar ptoonen avatar richardwerkman avatar robertlyson avatar rouke-broersma avatar royto avatar simondel avatar stefankraai avatar stukongeluk avatar szpi avatar timoosterbroek avatar valdas3 avatar yaelkeemink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.