Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phihos/django-mutpy
Django integration for the mutation testing framework MutPy.
https://github.com/phihos/django-mutpy
django mutation-testing python python3 test-automation testing
Last synced: 5 days ago
JSON representation
Django integration for the mutation testing framework MutPy.
- Host: GitHub
- URL: https://github.com/phihos/django-mutpy
- Owner: phihos
- License: apache-2.0
- Created: 2017-07-15T13:35:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T21:50:34.000Z (over 3 years ago)
- Last Synced: 2024-09-19T05:07:24.710Z (about 2 months ago)
- Topics: django, mutation-testing, python, python3, test-automation, testing
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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.1Installation
------------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 installThen add django\_mutpy to the list of installed apps.
.. code:: python
INSTALLED_APPS = [
...
'django_mutpy',
...
]Usage
-----Run
::
python manage.py muttest ... [--modules ]
.. _MutPy: https://github.com/mutpy/mutpy
.. |Build Status| image:: https://travis-ci.org/phihos/django-mutpy.svg?branch=master
:target: https://travis-ci.org/phihos/django-mutpy
.. |Coverage Status| image:: https://coveralls.io/repos/github/phihos/django-mutpy/badge.svg?branch=master
:target: https://coveralls.io/github/phihos/django-mutpy?branch=master
.. |Code Climate| image:: https://codeclimate.com/github/phihos/django-mutpy/badges/gpa.svg
:target: https://codeclimate.com/github/phihos/django-mutpy