Coder Social home page Coder Social logo

blinky's Introduction

Blinky

Build Status Coverage Status Sonatype Nexus (Releases) Sonatype Nexus (Snapshots) Scala Steward Badge

Mutation testing is a type of software testing where we mutate (change) certain expressions in the source code and check if the test cases are able to find the errors. It is a type of White Box Testing which is mainly used for Unit Testing.

Blinky has 3 main steps:

  • Copy the git project to a temporary folder (where the source code can be safely modified)
  • Run the scalafix tool with the Blinky rule (on the copy project)
  • Run the project tests on the mutated code (usually with only 1 mutant active each time)

We use Blinky to test this repository, improving the test code quality.

Similar projects:

The main difference is that in Blinky the mutations are semantic instead of just syntactic. Meaning when using a rule like ScalaOptions.filter we only mutate calls to the method filter of objects of type scala.Option. In order to have this semantic information about the types Blinky needs the semanticdb data of all files that we want to mutate.

Head over to the user docs for instructions on how to install blinky.

blinky's People

Contributors

rcmartins avatar scala-steward avatar

Watchers

 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.