Skip to main content

made-with-python Build Status Coverage Status Code style: black Checked with pylint Checked with flake8 Checked with pydocstyle Checked with interrogate Checked with mypy License PyPI version shields.io PyPI pyversions PyPi downloads EO principles respected here Docs

Pytest confluence report

Pytest plugin to convert test results into confluence page report to proceed with tests analysis.

It will combine unique fail assertion messages to failed testcases and convert those into confluence tables which is omitted in other plugins such as pytest-html.

⚠️ Note: the project is under construction.

Tools

Production

Development

Usage

Installation

pip install pytest-confluence-report
✨ 🍰 ✨

Quick start

Please make sure your settings.yml file is properly configured before execution.

pytest --junit-xml=pytest.xml --confluence-upload

Source code

git clone git@github.com:vyahello/pytest-confluence-report.git
pip install -e .

Or using direct release:

pip install git+https://github.com/vyahello/pytest-confluence-report@0.0.2

Local debug

git clone git@github.com:vyahello/pytest-confluence-report.git
python -m report --settings-path settings.yml --xml-path pytest.xml

⬆ back to top

Development notes

Configuration

In order to enable plugin automatically within your pytest.ini configuration file, please set an appropriate flag:

[pytest]
addopts = --confluence-upload

or a shorten version:

[pytest]
addopts = --cu

Testing

Generally, pytest tool is used to organize testing procedure.

Please follow next command to run unittests:

pytest

In addition, package unit tests are implemented with bats framework:

PACKAGE_NAME and PACKAGE_VERSION environment variables should be set to run tests.

bats --pretty test-package.bats

CI

Project has Travis CI integration using .travis.yml file thus code analysis (black, pylint, flake8, mypy, pydocstyle and interrogate) and unittests (pytest, bats) will be run automatically after every made change to the repository.

To be able to run code analysis, please execute command below:

./analyse-source-code.sh

Release notes

Please check changelog file to get more details about actual versions and it's release notes.

Meta

Author – Volodymyr Yahello. Please check authors file for more details.

Distributed under the MIT license. See license for more information.

You can reach out me at:

Contributing

I would highly appreciate any contribution and support. If you are interested to add your ideas into project please do the following simple steps:

  1. Clone the repository.
  2. Configure git for the first time after cloning with your name and email.
  3. pip install -r requirements.txt to install all project dependencies.
  4. pip install -r requirements-dev.txt to install all development project dependencies.
  5. Create your feature branch (git checkout -b feature/fooBar).
  6. Commit your changes (git commit -am 'Add some fooBar').
  7. Push to the branch (git push origin feature/fooBar).
  8. Create a new Pull Request.

What's next

All recent activities and ideas are described at project issues page. If you have ideas you want to change/implement please do not hesitate and create an issue.

⬆ back to top

Metadata

Release files for pytest-confluence-report 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-confluence-report 0.0.4
File Size Uploaded
pytest-confluence-report-0.0.4.tar.gz 20.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-confluence-report 0.0.4
File Interpreter ABI Platform
pytest_confluence_report-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 20.4 MB

Release files / pytest-confluence-report-0.0.4.tar.gz

Download URL pytest-confluence-report-0.0.4.tar.gz
Size 20.4 MB
Tags Source
SHA-256 checksum
How to use checksums
cc5d36472ab8a12115fa43cc6101a53e639c5108a379cd484e4c017aaeea2f76
BLAKE2b-256 checksum
How to use checksums
edf0eac1d7921e5ec0c3cb71b3e200c973687da75540987b85af2db8c4b31e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5

Release files / pytest_confluence_report-0.0.4-py3-none-any.whl

Download URL pytest_confluence_report-0.0.4-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6102fdfbe6af0c1f3b6476783c0851cc04b86b6bb3c5109d59bf02d830394fa
BLAKE2b-256 checksum
How to use checksums
5a23fa66bbc47f2b80afd80a6e7295752a8ef36bde215ec15a567c55e1bb3eb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page