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.
Metadata
Release files for pytest-breed-adapter 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-breed-adapter-1.2.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_breed_adapter-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / pytest-breed-adapter-1.2.0.tar.gz
| Download URL | pytest-breed-adapter-1.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e281e11961519ade39c8ab7f1f9114e02fdac4bf32ceb89f63bf070f8c4177f
|
|
BLAKE2b-256 checksum How to use checksums |
c106725e7464006c60ccbd4b61f196bd2ff4914d174c24d8be8f17dcb490e616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / pytest_breed_adapter-1.2.0-py3-none-any.whl
| Download URL | pytest_breed_adapter-1.2.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c544c0d61cb1c9bca154e780dee0c3284a650eda84c9d10ce67444369412e0ee
|
|
BLAKE2b-256 checksum How to use checksums |
861ed040cd1c88522dd4c65ea6e3f327ed02b3127adb9569be5de62989cbf858
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|