Giter Club home page Giter Club logo

django-mutpy's Introduction

django-mutpy

Build Status Coverage Status Code Climate

Django integration for the mutation testing framework MutPy.

MutPy is a mutation test framework for Python. It basically seeds a bug into your code and then runs your unit tests to see if they find it. Mutation testing helps to identify flaws in your tests. Because if your tests can not uncover obvious bugs, they will also not uncover complex ones.

This Django app eases the integration of MutPy into your Django project. It takes care of setting up the Django environment for the tests and finding the unit tests and the production code.

Requirements

  • Python >= 3.4
  • MutPy >= 0.5.1

Installation

First install the module.

Either

pip install django-mutpy

or download the repository and

git clone https://github.com/phihos/django-mutpy.git
cd django-mutpy
python setup.py install

Then add django_mutpy to the list of installed apps.

INSTALLED_APPS = [
  ...
  'django_mutpy',
  ...
  ]

Usage

Run

python manage.py muttest <app1> <app2> ... [--modules <list of modules to include>]

django-mutpy's People

Contributors

phihos avatar mebbage avatar mwalkowski avatar

Watchers

James Cloos 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.