Skip to main content

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 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:

Project details


Download files

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

Source Distributions

doctestall-1.0.2.zip (4.1 kB view details)

Uploaded Source

doctestall-1.0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file doctestall-1.0.2.zip.

File metadata

  • Download URL: doctestall-1.0.2.zip
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for doctestall-1.0.2.zip
Algorithm Hash digest
SHA256 8bdf92b54f4d42acc46b4585d10b04c754146cec3055f5102fdfa75b55e0323c
MD5 f96ac3a9030d2fb0e04ad28057b69307
BLAKE2b-256 969cb8a96e10cb4c373bfb4f26defb46e27b19df9a16936af24a8d0e56c88a71

See more details on using hashes here.

File details

Details for the file doctestall-1.0.2.tar.gz.

File metadata

  • Download URL: doctestall-1.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for doctestall-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ce7f6c1916b1899d06aaaee2b74f52fd019493879c9d0bf361ea1311507da92d
MD5 eb2eda03bc9e50cde51ab8e57bc3e9de
BLAKE2b-256 b111decbad55933491cd29ebba2e25e5404f03c16179786d6fae1838cd437e97

See more details on using hashes here.

Supported by

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