Skip to main content

Buildbot step for py.test.

Project description

bb_pytest

bb_pytest is a library that adds a Buildbot buildstep that can parse py.test output and generate correct status text at completion of tests.

Arguments

This test step is derived from the ShellCommand step. So besides the arguments listed below the following steps will also be accpeted and will behave as per the ShellCommand step: workdir, haltOnFailure, flunkOnWarnings, flunkOnFailure, warnOnWarnings, warnOnFailure, want_stdout, want_stderr, timeout

testpath

The PYTHONPATH to use when running the tests.

python

The python executable to use.

pytest

The pytest executable to use.

pytestMode

The mode that should used to track the progress of the step. Valid options are “pytest” or “xdist”.

Example

from bb_pytest import step
from buildbot.process import factory

f = factory.BuildFactory()

f.Factory.addStep(
    Pytest(
        pytest="py.test",
        pytestArgs=['-u', '-i'],
        testpath=None,
        tests=[""],
        flunkOnFailure=True))

Changelog

Release 0.1 23/03/2012

  • initial release

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

bb-pytest-0.1.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file bb-pytest-0.1.tar.gz.

File metadata

  • Download URL: bb-pytest-0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bb-pytest-0.1.tar.gz
Algorithm Hash digest
SHA256 99fb1ef6aea471fcf3a00b6eecb343356bc497caa16ec816325fd2a952aff3da
MD5 4fa71271cd563f818deb214784767edc
BLAKE2b-256 78599aeba151822739b64cd2ab3e30d8ec1093822dea0c1ffad98f61bbcf6a2b

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