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.0.zip (3.5 kB view details)

Uploaded Source

doctestall-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file doctestall-1.0.0.zip.

File metadata

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

File hashes

Hashes for doctestall-1.0.0.zip
Algorithm Hash digest
SHA256 107faded38d3e497a19b0baae2696b30ca990d527e0e368124bd0a737475db93
MD5 e74cf28bd2376584addfe3822c57171a
BLAKE2b-256 5ee1636d3bddcc96a41e13a690279dc413fdc9dae5ee5467ae068e42d00707b3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for doctestall-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e579b583cbe812aa58b31d38eebe86fff478947ecff9c3ec199343216d3e9f84
MD5 ddbb5f0e8cc6f412c29c7ed3119e941d
BLAKE2b-256 2fbbe86fb66a64dfb97950cce282a7cca5750d1c52244bbabe71c714a61babd7

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