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

Recursive tester for doctest-y projects

Project Description

DoctestAll

Recursive doctest-executing library and script for running doctest on projects.

DoctestAll is a very simple solution for running unit tests a package at a time, recursively descending with the __all__ module property to find children to analyze. Or audit, if you want a creepy scientology metaphor.

DTA is available as the doctestall module, and a script by the same name which can be run from the command line.

Installation

DTA can be installed via pip:

sudo pip install doctestall

Or by entering the following commands as administrator:

git clone git://github.com/campadrenalin/DoctestAll.git

cd DoctestAll

python setup.py install

Once installed, you can import the doctestall module, or try it out in the shell:

doctestall doctestall

Yes, this runs doctestall on itself. But to test some other module:

doctestall cmath

The cmath module doesn’t use doctest, so the results are uninteresting, but on the other hand, the recursive walk doesn’t make anything explode either. So you might want to try it out on projects that are actually designed to use DTA, or at least be friendly to it.

Projects using or compatible with DTA:

Release History

Release History

This version
History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
doctestall-1.0.4.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2013
doctestall-1.0.4.zip (4.1 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2013

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