All Projects → stryker-mutator → Stryker Net

stryker-mutator / Stryker Net

Licence: apache-2.0
Mutation testing for .NET core and .NET framework!

Projects that are alternatives of or similar to Stryker Net

Coravel
Near-zero config .NET Core micro-framework that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
Stars: ✭ 1,989 (+305.09%)
Mutual labels:  hacktoberfest, dotnet-core
Mond
A scripting language for .NET Core
Stars: ✭ 237 (-51.73%)
Mutual labels:  hacktoberfest, dotnet-core
Dotnet Standard Sdk
🆕🆕🆕.NET Standard library to access Watson Services.
Stars: ✭ 144 (-70.67%)
Mutual labels:  hacktoberfest, dotnet-core
Colore
A powerful C# library for Razer Chroma's SDK
Stars: ✭ 121 (-75.36%)
Mutual labels:  hacktoberfest, dotnet-core
Umbraco Cms
The simple, flexible and friendly ASP.NET CMS used by more than 730.000 websites
Stars: ✭ 3,484 (+609.57%)
Mutual labels:  hacktoberfest, dotnet-core
Rawcms
RawCMS is the headless CMS written in asp.net core build for developers that embraces API first technology. Please give us a feedback!
Stars: ✭ 132 (-73.12%)
Mutual labels:  hacktoberfest, dotnet-core
Pixieditor
PixiEditor is a lightweight pixel art editor made with .NET 5
Stars: ✭ 210 (-57.23%)
Mutual labels:  hacktoberfest, dotnet-core
Mysqlconnector
Async MySQL Connector for .NET and .NET Core
Stars: ✭ 942 (+91.85%)
Mutual labels:  hacktoberfest, dotnet-core
Mockqueryable
Moking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc
Stars: ✭ 281 (-42.77%)
Mutual labels:  dotnet-framework, dotnet-core
Fluentresults
A generalised Result object implementation for .NET/C#
Stars: ✭ 266 (-45.82%)
Mutual labels:  hacktoberfest, dotnet-core
Stryker4s
Mutation testing for Scala. Work in progress...
Stars: ✭ 118 (-75.97%)
Mutual labels:  hacktoberfest, mutation-testing
Altcover
Cross-platform coverage gathering and processing tool set for .net/.net core and Mono
Stars: ✭ 344 (-29.94%)
Mutual labels:  dotnet-framework, dotnet-core
Azurestorageexplorer
☁💾 Manage your Azure Storage blobs, tables, queues and file shares from this simple and intuitive web application.
Stars: ✭ 88 (-82.08%)
Mutual labels:  hacktoberfest, dotnet-core
Wopihost
ASP.NET Core MVC implementation of the WOPI protocol. Enables integration with WOPI clients such as Office Online Server.
Stars: ✭ 132 (-73.12%)
Mutual labels:  hacktoberfest, dotnet-core
Fakeiteasy
The easy mocking library for .NET
Stars: ✭ 1,092 (+122.4%)
Mutual labels:  hacktoberfest, dotnet-core
Stryker Js
Mutation testing for JavaScript and friends
Stars: ✭ 2,043 (+316.09%)
Mutual labels:  hacktoberfest, mutation-testing
Sharpsnmplib
Sharp SNMP Library- Open Source SNMP for .NET and Mono
Stars: ✭ 247 (-49.69%)
Mutual labels:  dotnet-framework, dotnet-core
Practical Aspnetcore
Practical samples of ASP.NET Core 2.1, 2.2, 3.1, 5.0 and 6.0 projects you can use. Readme contains explanations on all projects.
Stars: ✭ 6,199 (+1162.53%)
Mutual labels:  hacktoberfest, dotnet-core
Statiq.framework
A flexible and extensible static content generation framework for .NET.
Stars: ✭ 251 (-48.88%)
Mutual labels:  hacktoberfest, dotnet-core
Awesome Dotnet Security
Awesome .NET Security Resources
Stars: ✭ 325 (-33.81%)
Mutual labels:  dotnet-framework, dotnet-core

Nuget Nuget Azure DevOps build Azure DevOps tests Slack

⚠ You are currently looking at the V1.0 branch. We are working towards the next big release. All new features will be merged here. For currently released sources and for providing fixes see master

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

Stryker offers mutation testing for your .NET Core and .NET Framework projects. It allows you to test your tests by temporarily inserting bugs in your source code

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 is installed using NuGet as a dotnet core tool

Read more

Install globally

dotnet tool install -g dotnet-stryker

Install in project

Starting from dotnet core 3.0 dotnet tools can also be installed on a project level. This requires the following steps:

Create a file called dotnet-tools.json in your project folder

dotnet new tool-manifest

Then install stryker without the -g flag by executing the following command in the project folder

dotnet tool install dotnet-stryker

Check the dotnet-tools.json file into source control

Now the rest of your team can install or update stryker with the following command: dotnet tool restore

Now you can run stryker from your test project directory by executing:

dotnet stryker

Updating stryker

Dotnet tools do not auto update so you are responsible for making sure you're up-to-date. To help with this stryker will notify you when a new version is available

To update stryker as a global tool run dotnet tool update --global dotnet-stryker

To update stryker as a project tool run dotnet tool update --local dotnet-stryker or change the version in the dotnet-tools.json file. Then check in the updated dotnet-tools.json file.

Documentation

For the full documentation on how to use Stryker.NET, see our configuration docs

Compatibility

Runs on test projects targeting:

  • netcoreapp 1.1+
  • netframework 4.5+

Requirements

Dotnet core runtime 3.1+ needs to be available on your system to run dotnet stryker.

For .NET Framework projects, Stryker.NET requires nuget.exe to be installed on your system. Please follow their installation instructions.

Supported Mutators

Right now, Stryker.NET supports the following mutations:

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

For the full list of all available mutations, see the mutator docs.

Supported Reporters

  • Html reporter
  • Dashboard reporter
  • Console reporter
  • Progress reporter
  • Console dots reporter
  • Json reporter

For the full list of all available reporters, see the reporter docs.

Contributing

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

Issues for the HTML report should be issued at https://github.com/stryker-mutator/mutation-testing-elements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].