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

pytest_breed_adapter-1.2.0-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page