Skip to main content

No project description provided

Project description

Pytest plugin for test reporting
================================

Offers additional reporting options for tests status.


To execute it:

$ pytest demo --track term
=========================================================================================== test session starts ============================================================================================
plugins: track-0.1.0
collected 7 items

demo/test_models.py .s.s. [ 71%]
demo/test_views.py .s [100%]

=================================================================================== 4 passed, 3 skipped in 0.02 seconds ====================================================================================
Total: 4 from 7 tests not skipped (57.14%)
test_models, 3 from 5 tests not skipped (60.00%)
test_views, 1 from 2 tests not skipped (50.00%)


Features
--------

Current functionality requires only test collection so this can be used with pytest's `--collect-only`


### Confluence reporting

To configure Confluence settings add a section to pytest.ini

[pytest_track]
confluence_username=<confluence_username>
confluence_password=<confluence_password>
confluence_url=<confluence_root_url>
confluence_parent_page_id=<id_of_the_parent_page>
confluence_page_title=<title_for_the_results_page>

To use it

pytest demo --track confluence


Acknowledgements
----------------

Based on the initial work of Vasilica Dumbrava.


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 pytest-track, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest_track-0.1.1-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pytest-track-0.1.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page