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:
Metadata
Release files for doctestall 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doctestall-1.0.4.zip | 4.1 kB | Without provenance | Details for doctestall-1.0.4.zip | |
| doctestall-1.0.4.tar.gz | 2.6 kB | Without provenance | Details for doctestall-1.0.4.tar.gz |
Release files / doctestall-1.0.4.zip
| Download URL | doctestall-1.0.4.zip |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
946bb896ea9f149e74575a158ff21159da2b3cedceb4d6a820523a3535c4b1c7
|
|
BLAKE2b-256 checksum How to use checksums |
a8ff3ba5cc72d7287693a3c32b7198f5c41550768c65a2d187daaf1fc1881586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / doctestall-1.0.4.tar.gz
| Download URL | doctestall-1.0.4.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de5931041c906baa462da88583f7ab3ad0f7a454d69d28b99b99d134813fb981
|
|
BLAKE2b-256 checksum How to use checksums |
5b0b5d8dfde5e8a1822dfa497cc8e377519cc13a444ff2d035a08a7a866dad38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for doctestall 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.