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.
================================
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)
Built Distribution
Close
Hashes for pytest_track-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3696a84966e71a0a3a73d7de584488d0dd821b05d6c173b7386e5fd079671763 |
|
MD5 | 46a3b066b48d5f8bba1552ff6aa7a8aa |
|
BLAKE2b-256 | c7620c022ef335e8d2011e1a61067553b070880fb2c9aceb70dca153e270827e |