GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TheSoftwareDesignLab/mutode: Mutation testing for JavaScript and Node.js

BranchesTags
Open more actions menu

Latest commit

 

History

233 Commits
233 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
docs
docs
 
 
example-module
example-module
 
 
no-tests-module
no-tests-module
 
 
src
src
 
 
test
test
 
 
.appveyor.yml
.appveyor.yml
 
 
.gitignore
.gitignore
 
 
.jsdoc.json
.jsdoc.json
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
greenkeeper.json
greenkeeper.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Mutode npm npm npm

JavaScript Style Guide Build Status Build status Coverage Status Greenkeeper badge

Mutation testing for Node.js and JavaScript.

Mutode generates mutants (small changes of code) and runs your tests. If the tests fail, it means the mutant was detected and killed; if your tests pass, it means the mutant survived and your tests can be improved.

Watch the demo video and Check the slides of the Node Summit 2018 talk

"It's like a test for your tests!" - @mappum

"Higher order testing: automated testing for your unit tests" - @albertomiranda

Publications

Read the tool demo paper "Mutode: generic JavaScript and Node.js mutation testing tool". In Proceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2018)

Read the thesis proposal here

Install

Requires Node 8+

Globally:

npm i -g mutode

Locally as a dev dependency:

npm i -D mutode

Use

Globally:

mutode [options] [paths]

Locally with npx:

npx mutode [options] [paths]

Locally with a package.json script:

{
  ...
  "scripts": {
    "test: "my test command",
    "mutode": "mutode [options] [paths]"
  }
  ...
}

Options:

Usage: mutode [options] [paths]

Options:
  --concurrency, -c  Concurrency of mutant runners         [number] [default: 4]
  --mutators, -m     Specific mutators to load (space separated)
      [array] [choices: "booleanLiterals", "conditionalsBoundary", "increments",
             "invertNegatives", "math", "negateConditionals", "numericLiterals",
              "removeArrayElements", "removeConditionals", "removeFuncCallArgs",
         "removeFuncParams", "removeFunctions", "removeLines", "removeObjProps",
                                          "removeSwitchCases", "stringLiterals"]
  -h, --help         Show help                                         [boolean]
  -v, --version      Show version number                               [boolean]

Docs

  • Current supported mutation operators are available here
  • General documentation is available here

Videos

  • Demo

License

MIT Copyright © Diego Rodríguez Baquero

About

Mutation testing for JavaScript and Node.js

thesoftwaredesignlab.github.io/mutode/

Topics

es6frameworkjavascriptmutantmutantsmutationmutation-testingnodenode-jsnodejstesttestingteststool

Resources

Readme
MIT license
Activity
Custom properties

Stars

64 stars

Watchers

4 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.