Skip to main content

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.3

  • 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>]

Metadata

Release files for django-mutpy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-mutpy 0.1.2
File Size Uploaded Provenance Actions
django-mutpy-0.1.2.tar.gz 4.0 kB Without provenance Details for django-mutpy-0.1.2.tar.gz

Release files / django-mutpy-0.1.2.tar.gz

Download URL django-mutpy-0.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a57132ea348624007840f0b17026c7b4210fd6c6b3303c1de7305d011f9072c4
BLAKE2b-256 checksum
How to use checksums
7cbc71e90666c99c462a33f1515c9c65ecf04cf0608333a3ae23f514dc1787bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-mutpy 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page