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

Uploaded Source

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

Uploaded Source

File details

Details for the file doctestall-1.0.3.zip.

File metadata

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

File hashes

Hashes for doctestall-1.0.3.zip
Algorithm Hash digest
SHA256 dcb3f6100e2615268ef5242742589615f97c6a516f168ced592b59c57730dc3e
MD5 f18786ec3344e385e93ca0e47e9869fa
BLAKE2b-256 ddf38881dd405b1528130e778d690a6fe628f840ba742903a3d76f10e625e0fa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for doctestall-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e19897f9ae335a1fd5dd2fc615803274cdf464e9149d33edc8772d02dbbf9cf5
MD5 64628456a044e4ef6d4a778b4c5d214b
BLAKE2b-256 a28e5ee577a32a6060e221fbbd3d55b6f3fa6f57b43fc7a05ce8637b632bbe5c

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