Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generic acceptance testing utils.

Project Description

[![Build Status](]( [![codecov](](

# Acceptance testing tools for use in unit/acceptance testing

This is a set of tools that may be useful for testing.

### Surjection

Surjection is a useful utility when you have an arbitrarily large number of options to test and want to make sure you touch each option once without taking the time to test all combinations.

Surjection in this always means minimally surjective.

<!— The first ‘images’ is the branch name, the second is the folder in that branch —> ![Set theory is fun](/../images/images/Surjection.svg.png?raw=true “Surjection”)

### Watcher

SubClassWatcher is useful for confirming hierarchies when specs require it.

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(5.4 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Dec 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting