Skip to content

πŸ“Š Pytest plugin to convert test results into confluence report (python + pytest + confluence REST API + travisCI)

License

Notifications You must be signed in to change notification settings

admdev8/pytest-confluence-report

Β 
Β 

Repository files navigation

Screenshot

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 EO principles respected here Docs

Pytest confluence report

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

⚠️ 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 [email protected]:vyahello/pytest-confluence-report.git
pip install -e .

Or using direct release:

pip install git+https://github.com/vyahello/[email protected]

Local debug

git clone [email protected]:vyahello/pytest-confluence-report.git
python -m report --settings settings.yml --xml-path pytest.xml

⬆ back to top

Development notes

Testing

Generally, pytest tool is used to organize testing procedure.

Please follow next command to run unittests:

pytest

CI

Project has Travis CI integration using .travis.yml file thus code analysis (black, pylint, flake8, mypy, pydocstyle and interrogate) and unittests (pytest) 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 follow next 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

About

πŸ“Š Pytest plugin to convert test results into confluence report (python + pytest + confluence REST API + travisCI)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.9%
  • Shell 10.1%