weijarz / python-testpkg

Run tests from package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run test package.

Install

$ pip install python-testpkg

Write test package and run

mytests/
    __init__.py # setUpPackage() / tearDownPackage()
    test_a.py
    test_b.py

$ testpkg mytests [test filters]

The filter is case-insensitive and supports fuzzy matching. For example, filter di will match 'test_db_index'.

About

Run tests from package.

License:MIT License


Languages

Language:Python 100.0%