Skip to main content

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

pytest-breed-adapter-1.2.0.tar.gz (5.3 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page