This is a simply one-function utility. The purpose is to print available tests without executing them. It should be used with standard *python’s unit tests*.
utl stands for u-nit t-est l-ister.
Usage
You can see it in action on this asciicast.
Note:
If you run UTL with Django project, pass env. var. like this:
$ DJANGO_SETTINGS_MODULE=mysite.settings; utl <dir-to-scan-for-tests>
see details Django doc.
Installation
As other python packages:
pip install utl
Links:
source on Bitbucket
Licence
Future features
process and pass all possible unittest.discovery params
- ‘entry point’ could be in package notation, eg.:
foo.bar.baz
show some sort of statistics
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
utl-1.0.1.tar.gz
(2.8 kB
view details)
File details
Details for the file utl-1.0.1.tar.gz.
File metadata
- Download URL: utl-1.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d8ed88aa371a9907e7df355bbedf3aae4d4e0d824b260aebe4cad496472b81b
|
|
| MD5 |
b13ba7b6c47dbc31bfaf3a56f154f7ca
|
|
| BLAKE2b-256 |
3479a5e02820fbc9f8d188ee02226c1181949d0b6abccd6e62ec78399433b788
|