Skip to main content

A plugin to sent pytest results to an Ibutsu server

Project description

This is a plugin that will report test rests from pytest to an Ibutsu server.

Requirements

Python 2.7 and 3.6+

Installation

Install the plugin via pip:

pip install pytest-ibutsu

If you’re developing this plugin, you can create an editable installation:

pip install -e .

Getting Started

To push your results to the Ibutsu server, use the --ibutsu option with the URL to your server:

pytest --ibutsu http://ibutsu/

More Options

To set the source for the test results, use the --ibutsu-source option:

pytest --ibutsu http://ibutsu/ --ibutsu-source my-test-run

If you want to add metadata to each result’s metadata, you can use the --ibutsu-data option:

pytest --ibutsu http://ibutsu/ --ibutsu-data key=value

You can specify multiple of this option:

pytest --ibutsu http://ibutsu/ --ibutsu-data key1=value1 --ibutsu-data key2=value2

You can also specify sub-keys via dotted notation:

pytest --ibutsu http://ibutsu/ --ibutsu-data key.subkey.susbsub=value

Set Project

If your Ibutsu server requires a project set, you can do that with the --ibutsu-project option:

pytest --ibutsu http://ibutsu/ --ibutsu-project 5eb1aff37c274bcd20002476

You can also use the project name field:

pytest --ibutsu http://ibutsu/ --ibutsu-project my-project

Offline Usage

If you want to still store your results, but can’t upload immediately, the Ibutsu plugin can create an archive which you can upload later. Use archive with the --ibutsu option:

pytest --ibutsu archive

The Ibutsu plugin will save the archive in your current directory, and will print out the location.

Usage

With this plugin installed, and the configuration set up, your test results will automatically be sent to the Ibutsu server.

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-ibutsu-1.14.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_ibutsu-1.14-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file pytest-ibutsu-1.14.tar.gz.

File metadata

  • Download URL: pytest-ibutsu-1.14.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pytest-ibutsu-1.14.tar.gz
Algorithm Hash digest
SHA256 a20d5e875c839605343d0341e9be38ea729e2dbb61793834707c28ee3a5af2c0
MD5 5cb25fd01421747ff0a9bece343cfd2c
BLAKE2b-256 65a7f6aa60a03283844aaaeb95061051cd44d8e6347305f81149d3436c3a387c

See more details on using hashes here.

File details

Details for the file pytest_ibutsu-1.14-py3-none-any.whl.

File metadata

  • Download URL: pytest_ibutsu-1.14-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pytest_ibutsu-1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd8feb79066d9fc2e78556de95db0608c4631e811b69cdbbdc25a695bd7d5cc
MD5 bb328fe999b0f152815f59809ed359a8
BLAKE2b-256 913483231ed791de356387f83b396abde49fc03e22b8c66c513268a932acdc7e

See more details on using hashes here.

Supported by

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