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.

Source Distribution

pytest-track-0.1.1.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

pytest_track-0.1.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page