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.

Files for pytest-breed-adapter, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pytest_breed_adapter-1.2.0-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pytest-breed-adapter-1.2.0.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page