A simple plugin to connect with breed-server
Project description
pytest-breed-adapter
A simple plugin generate json report and sent to breed server for report visualization
This pytest
_ plugin was generated with Cookiecutter
_ along with @hackebrot
's cookiecutter-pytest-plugin
template.
Installation
You can install "pytest-breed-adapter" via pip
_ from PyPI
_::
$ pip install pytest-breed-adapter
Usage
For full functionality you need build breed-server
which is close-source project
But you can build your own server for further usage, plugin will send json report to
breed server address + /report/parse
[pytest]
addopts = --breed
title = what evever title you want /{or leave it empty}
json_report_file = auto/ none/ arbitary.json
json_report_indent = 4/ none
metadata = true/ false
CI_server = 192.168.1.199
breed_server = http://192.168.1.199:62180
test_demo():
"""
@ Node id
@! key0: value0
@! key1: value1
@! key2: value2
@! key3: value3
"""
assert 1
first line of docstring startswith @space
will be parsed to test nodeid
reset line with @!
prefix will be treated as metadata key-value
Contributing
Contributions are very welcome
License
Distributed under the terms of the BSD-3
_ license, "pytest-breed-adapter" is free and open source software
Issues
If you encounter any problems, please file an issue
_ along with a detailed description.
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
Built Distribution
Hashes for pytest-breed-adapter-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e281e11961519ade39c8ab7f1f9114e02fdac4bf32ceb89f63bf070f8c4177f |
|
MD5 | b9c5ce9818de5809b448e3d023b55425 |
|
BLAKE2b-256 | c106725e7464006c60ccbd4b61f196bd2ff4914d174c24d8be8f17dcb490e616 |
Hashes for pytest_breed_adapter-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c544c0d61cb1c9bca154e780dee0c3284a650eda84c9d10ce67444369412e0ee |
|
MD5 | b8571015e7ea4099a6c9261f41328340 |
|
BLAKE2b-256 | 861ed040cd1c88522dd4c65ea6e3f327ed02b3127adb9569be5de62989cbf858 |