Skip to main content

A plugin to sent pytest results to an Ibutsu server

Project description

# Ibutsu pytest Plugin

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

## Requirements.

Python 2.7 and 3.4+

## Installation

Install the plugin via pip:

`sh pip install pytest-ibutsu `

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

`sh 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 `

## 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.0.33.tar.gz (19.2 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.0.33-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-ibutsu-1.0.33.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pytest-ibutsu-1.0.33.tar.gz
Algorithm Hash digest
SHA256 c7087d87c9b0b233520019d9f839f03e4038b5a2c68b9fae0af7c11a15b13c84
MD5 c56b9f7b93a86ea0c4e7c47a5cb42ba3
BLAKE2b-256 498ac84b6e1c563a11e463ff04b83c712cf6205874628c14009cab2380312741

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_ibutsu-1.0.33-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pytest_ibutsu-1.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 616ad7794f1c0e6f50a83124b6301510e58f8e634fbfb6cdf57418f1eb2675d3
MD5 7183d50160849ab92963d436781c4cc1
BLAKE2b-256 edb82234a6792a07408e29846b60cfcba29866a691d8ede8c561dc3fd8f430ac

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