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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-ibutsu-1.14.1.tar.gz
  • Upload date:
  • Size: 20.0 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.57.0 CPython/3.9.1

File hashes

Hashes for pytest-ibutsu-1.14.1.tar.gz
Algorithm Hash digest
SHA256 41f04615c6c06b2a270f0978f13623c9274964b3df8faa703b89392f377c3762
MD5 d48a624d4a14415001c0faba00b7e376
BLAKE2b-256 07bcf0feb9a79ae0ab2a0d0da4f17dd31c82b3c24b7e0f704b90594b1c3a4be9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_ibutsu-1.14.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.57.0 CPython/3.9.1

File hashes

Hashes for pytest_ibutsu-1.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f8eaa5e9debdc3fccc060cdad4a3c4ee740d78dee0bc719068756d4438a354
MD5 29d2f3cbe98d4071a552881978fb4558
BLAKE2b-256 8cca9396888068f2b0c568f7e2dc574ec7eddabd865949fb4a17df0d6b1a0219

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