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:

  • ConcurrenTree <https://github.com/campadrenalin/ConcurrenTree>

  • DoctestAll <https://github.com/campadrenalin/DoctestAll>

  • EJTP <https://github.com/campadrenalin/EJTP-lib-python>

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

Uploaded Source

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

Uploaded Source

File details

Details for the file doctestall-1.0.1.zip.

File metadata

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

File hashes

Hashes for doctestall-1.0.1.zip
Algorithm Hash digest
SHA256 7fc2377e40dbda5466dcb7855c44c356419c94aa896a7056ad301472c43c77ce
MD5 60b586a965a3202f752f74e24fc8a9f8
BLAKE2b-256 5eddc0650556476149eaba480ccb62ca4c4757257343bb56b9e279b52b48db38

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for doctestall-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0f854b9436da2dc44e502d53fb5638da627b43ad39644d5aed183ae7e304b496
MD5 3464754f56ebac488c73738607a56dc0
BLAKE2b-256 f1c57b8b08540b5de036397fd2c77558d5fca3d0ceb5f521edaef534e2cd34c8

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