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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-ibutsu, version 1.0.33
Filename, size File type Python version Upload date Hashes
Filename, size pytest_ibutsu-1.0.33-py3-none-any.whl (9.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-ibutsu-1.0.33.tar.gz (19.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page