Skip to main content

HTTP response diffing against fixtures for testing

Project description

https://travis-ci.org/yourlabs/django-responsediff.svg https://codecov.io/github/yourlabs/django-responsediff/coverage.svg?branch=master https://badge.fury.io/py/django-responsediff.png

django-responsediff

I’m pretty lazy when it comes to writing tests for existing code, however, I’m even lazier when it comes to repetitive manual testing action.

This package aims at de-duplicating view tests inside the political-memory itself and to make it reusable for other apps.

It’s pretty much the same as django-dbdiff, except this is for HTTP response.

Response state assertion

When my user tests, he browses the website and checks that everything is rendered fine. This app allows to do high-level checks of HTML rendering.

See responsediff/response.py docstrings for example usage.

Requirements

Python 2.7 and 3.4 are supported along with Django 1.7 to 1.10 - it’s always better to support django’s master so that we can upgrade easily when it is released, which is one of the selling points for having 100% coverage.

Install

Install django-responsediff with pip.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-responsediff-0.2.0.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file django-responsediff-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-responsediff-0.2.0.tar.gz
Algorithm Hash digest
SHA256 981b336b6497b023dfefff88e1fffef9b5afb3887399f1c1089d19a17858a62a
MD5 aaf70f825e635506993d2d0f4b100def
BLAKE2b-256 a9024f4e449ec5121772a35e7e95542e3d0ce7373858cfdd62970f35e4e1d601

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page