Skip to main content

A simple tool that shows available tests without executing them.

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for utl, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size utl-1.0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page