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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-breed-adapter-1.2.0.tar.gz.
File metadata
- Download URL: pytest-breed-adapter-1.2.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e281e11961519ade39c8ab7f1f9114e02fdac4bf32ceb89f63bf070f8c4177f
|
|
| MD5 |
b9c5ce9818de5809b448e3d023b55425
|
|
| BLAKE2b-256 |
c106725e7464006c60ccbd4b61f196bd2ff4914d174c24d8be8f17dcb490e616
|
File details
Details for the file pytest_breed_adapter-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pytest_breed_adapter-1.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c544c0d61cb1c9bca154e780dee0c3284a650eda84c9d10ce67444369412e0ee
|
|
| MD5 |
b8571015e7ea4099a6c9261f41328340
|
|
| BLAKE2b-256 |
861ed040cd1c88522dd4c65ea6e3f327ed02b3127adb9569be5de62989cbf858
|