All Projects → Faultify → Faultify

Faultify / Faultify

Licence: GPL-3.0 license
Byte Code Dotnet Mutation Utility

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to Faultify

Mutmut
Mutation testing system
Stars: ✭ 473 (+2856.25%)
Mutual labels:  mutation-testing
Mutate cpp
C++ Mutation Test Environment
Stars: ✭ 106 (+562.5%)
Mutual labels:  mutation-testing
Gradle Pitest Plugin
Gradle plugin for PIT Mutation Testing
Stars: ✭ 144 (+800%)
Mutual labels:  mutation-testing
Mull
Practical mutation testing tool for C and C++
Stars: ✭ 536 (+3250%)
Mutual labels:  mutation-testing
Pitest
State of the art mutation testing system for the JVM
Stars: ✭ 1,185 (+7306.25%)
Mutual labels:  mutation-testing
Stryker4s
Mutation testing for Scala. Work in progress...
Stars: ✭ 118 (+637.5%)
Mutual labels:  mutation-testing
Mutagen
Breaking your Rust code for fun and profit
Stars: ✭ 410 (+2462.5%)
Mutual labels:  mutation-testing
Mutpy
MutPy is a mutation testing tool for Python 3.x source code
Stars: ✭ 248 (+1450%)
Mutual labels:  mutation-testing
Mutest
fork of mutant with inline disable comments and a few different mutations.
Stars: ✭ 75 (+368.75%)
Mutual labels:  mutation-testing
Mutant
Automated code reviews via mutation testing - semantic code coverage.
Stars: ✭ 1,794 (+11112.5%)
Mutual labels:  mutation-testing
Prapr
Practical Program Repair via Bytecode Mutation
Stars: ✭ 58 (+262.5%)
Mutual labels:  mutation-testing
Humbug
Humbug is a Mutation Testing framework for PHP to measure the real effectiveness of your test suites and assist in their improvement. It eats Code Coverage for breakfast.
Stars: ✭ 1,159 (+7143.75%)
Mutual labels:  mutation-testing
Expect More
Curried Type Testing library, and Test Matchers for Jest
Stars: ✭ 124 (+675%)
Mutual labels:  mutation-testing
Stryker Net
Mutation testing for .NET core and .NET framework!
Stars: ✭ 491 (+2968.75%)
Mutual labels:  mutation-testing
Stryker Js
Mutation testing for JavaScript and friends
Stars: ✭ 2,043 (+12668.75%)
Mutual labels:  mutation-testing
Cosmic Ray
Mutation testing for Python
Stars: ✭ 470 (+2837.5%)
Mutual labels:  mutation-testing
Infection
PHP Mutation Testing library
Stars: ✭ 1,575 (+9743.75%)
Mutual labels:  mutation-testing
mutation-testing-elements
🗃 A schema for mutation testing results with the web components to visualise it 📊
Stars: ✭ 19 (+18.75%)
Mutual labels:  mutation-testing
Awesome Mutation Testing
Mutation testing resources: how to make better code by introducing bugs
Stars: ✭ 207 (+1193.75%)
Mutual labels:  mutation-testing
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+87250%)
Mutual labels:  mutation-testing

Nuget Nuget Tester Join us on Discord Donate

Byte Code Dotnet Mutation Utility

Faultify provides a quick simple way to realize dotnet mutation testing at the byte code level. It imitates the bad programmer by deliberately introducing errors. A test is assumed to fail after an introduced mutation, the test is likely to be error-prone if it instead succeeds.

disclaimer: faultify is just released and bugs can be expected, please open a issue if you get any.

Getting Started

Commandline Options

  -t, --testProjectName    Required. The path pointing to the test project project file.
  -r, --reportPath         The path were the report will be saved.
  -f, --reportFormat       (Default: json) Type of report to be generated, options: 'pdf', 'html', 'json'
  -p, --parallel           (Default: 1) Defines how many test sessions are ran at the same time.
  -l, --mutationLevel      (Default: Detailed) The mutation level indicating the test depth.
  
  --help                   Display this help screen.
  --version                Display version information.

Install / Run

dotnet tool install --global faultify --version 0.2.0
faultify -t YourTestProject.csproj -f html

This generates a 'HTML' report for the project 'YourTestProject.csproj' at the default executable location in the folder '/FaultifyOutput'.

Features

Functional Features

  • Mutate Arithmetic (+, -, /, *, %) Operators.
  • Mutate Assignment Expressions (+=, -=, /=, *=, %=, --, ++).
  • Mutate Equivalence Operators (==, !=).
  • Mutate Logical Operators (&&, ||).
  • Change bitwise operators (^,|, &).
  • Mutate Branching statements (if(condition), if(!condition))
  • Mutate Variable Literals (true, false).
    • Support for other types.
  • Mutate Constant Fields (string, number, boolean).
  • Mutate Array initializations (Only arrays larger than 2 elements, all C# types)
  • Build mutation report (HTML/PDF).
  • Mutation test algorithm.

Non-Functional Features

  • Cross-platform .net core compatibility.
  • Nunit/Xunit/Msunit support via dotnet test.
  • Runnable from console.
  • All dotnet languages (F#, C#, visualbaisc) support.

Todo

  • Implement member exclusion.
  • Implement line number display
  • Improve reporting functionality
  • Implement assembly testing in memory

Application Preview

drawing

Solution Projects

Solution Item Description
Faultify.Cli Contains the faultify executable mutation dotnet utility.
Faultify.Analyze Contains the code that analyzes and searches for mutations
Faultify.TestRunner Contains the code that runs the mutation test process
Faultify.Report Contains the code that generates a report
/Bechmarks Contains a benchmark project and tests that can be used for mutation testing with faultify/stryker.
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].