Git Product home page Git Product logo

idea-pitest's Introduction

idea-pitest

IDEA Pitest plugin

Pitest (aka PIT) is a state of the art mutation testing system for Java and the JVM.

Read all about it at http://pitest.org

The original Pitest logo was created by Ling Yeung. It is licensed under a Creative Commons License.

Introduction

The idea of the plugin is to make mutation testing as much easy as possible. The plugin allows you to run Pitest against existed unit tests in one click. You don't need to manually setup options, they will be derived from JUnit configuration. Report will be shown using default IDEA Coverage functionality.

Visit Releases section to download latest build.

Limitations of the current version

  • IntelliJ IDEA 14 (IC or IU) via JRE 7+
  • JUnit
  • not fully correct coverage calculation
  • only basic Pitest parameters

Plans

  • publish plugin to official repository
  • TestNG support
  • fancy JUnit like tests execution UI
  • extended coverage information (like Pitest's HTML report)

Hints how to use

  • install plugin
  • right click on the JUnit test
  • select Run with Pitest
  • open file which is covered by test in the editor

How to build

You should have IntelliJ IDEA 14 installed. All project files like .idea directory and .iml are shared so you only need to perform several platform and IDE version dependant configuration steps.

  1. Open root of the project using IDEA.
  2. Open Project Structure configuration under File menu.
  3. Choose Modules and select idea-pitest-plugin module. In Dependencies section configure IntelliJ Plutform Plugin SDK properly.
  4. Choose Libraries and configure paths to coverage and junit lib directories. They are located in $IDEA$/plugins.
  5. Create new Plugin run configuration using idea-pitest-plugin module.

Now you should be able to run new instance of IDE with plugin installed in one click. Using this instance you can open idea-pitest-example module as a new project to check how the plugin works.

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.