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.1.tar.gz (19.4 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.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-ibutsu-1.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pytest-ibutsu-1.1.tar.gz
Algorithm Hash digest
SHA256 f91f2d05e709832cc2377be7f0b5245beb1055ac94e02ae4f6517562a4d99013
MD5 12663a63d4b71f91a377ab3680bd1000
BLAKE2b-256 f60ed30f62391d3899c1bb2a81bffb7e629c4e439044ddd6aee5fc180e49b7f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_ibutsu-1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for pytest_ibutsu-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 815120d47d4a2880cf075ff97c44a0039dbb2c53adc925711121979fcfe1455b
MD5 15411dfa173586b23c43e1f64ed87e6c
BLAKE2b-256 64ccff7f8c15bc49a969103e2bf44c9a19517cf63fc349bf547c1fbb55f6ed24

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