Skip to main content

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.

Latest PyPI version

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

Licence

Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

Authors

Many thanks to Vaultah because he|she cover the main work on stackoverflow

Wrapping Vaultah’s work into package was done by xliiv.

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

Release files for utl 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utl 1.0.0
File Size Uploaded
utl-1.0.0.tar.gz 3.3 kB Details

Release files / utl-1.0.0.tar.gz

Download URL utl-1.0.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
00acd9bc36e3ac782a668c54e63563baa3981bee3ea4eb09fe7341b193283c5f
BLAKE2b-256 checksum
How to use checksums
99fd4c333df70e11b10e7b2aadedba628ad58af237d5b9c87f589f4748663446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.0.1

1 release file

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page