GithubHelp home page GithubHelp logo

yoshikitakashima / cargo-mutants Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourcefrog/cargo-mutants

0.0 0.0 0.0 937 KB

Yoshi's fork of `cargo-mutants`. This should not be used in prodction.

Home Page: https://mutants.rs/

License: MIT License

Rust 99.76% Dockerfile 0.24%

cargo-mutants's Introduction

cargo-mutants

https://github.com/sourcefrog/cargo-mutants

Tests crates.io libs.rs

cargo-mutants is a mutation testing tool for Rust. It helps you improve your program's quality by finding functions whose body could be replaced without causing any tests to fail.

Coverage measurements can be helpful, but they really tell you what code is reached by a test, and not whether the test really checks anything about the behavior of the code. Mutation tests give different information, about whether the tests really check the code's behavior.

The goal of cargo-mutants is to be easy to run on any Rust source tree, and to tell you something interesting about areas where bugs might be lurking or the tests might be insufficient.

The main documentation is the user guide at https://mutants.rs/.

Install

cargo install --locked cargo-mutants

Quick start

From within a Rust source directory, just run

cargo mutants

Project status

As of April 2023 this is an actively-maintained spare time project. It is very usable as it is and there is room for future improvements, especially in adding new types of mutation.

I expect to make releases about every one or two months, depending on how much time and energy I have available.

Constructive feedback is welcome but there is absolutely no warranty or guarantee of support.

Further reading

The main documentation is the user guide at https://mutants.rs/.

See also:

cargo-mutants's People

Contributors

sourcefrog avatar dmoka avatar wainwrightmark avatar sgodwincs avatar timdiekmann avatar yining avatar mbp-stripe 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.