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

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.4.zip (4.1 kB view details)

Uploaded Source

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

Uploaded Source

File details

Details for the file doctestall-1.0.4.zip.

File metadata

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

File hashes

Hashes for doctestall-1.0.4.zip
Algorithm Hash digest
SHA256 946bb896ea9f149e74575a158ff21159da2b3cedceb4d6a820523a3535c4b1c7
MD5 5ea5cb03e64e63743de3c1f6112bb1bb
BLAKE2b-256 a8ff3ba5cc72d7287693a3c32b7198f5c41550768c65a2d187daaf1fc1881586

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for doctestall-1.0.4.tar.gz
Algorithm Hash digest
SHA256 de5931041c906baa462da88583f7ab3ad0f7a454d69d28b99b99d134813fb981
MD5 7a467a040220e218b44977e69f372a81
BLAKE2b-256 5b0b5d8dfde5e8a1822dfa497cc8e377519cc13a444ff2d035a08a7a866dad38

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