Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

orangebeard-pytest

Latest version: v0.2.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: tcnh
0 Stars
0 Forks
3 Versions
Python Repo language

Scan summary

orangebeard-pytest was last scanned on 26 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 0.2.0.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 26 Nov 2026 No rules fired
0.1.1 25 Nov 2026 No rules fired
0.1.0 25 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

orangebeard-pytest

Orangebeard reporting plugin for pytest, including pytest-playwright.

  • Suites, tests and steps: directories, modules and classes become nested suites; every test has setup, call and teardown steps, fixtures become sub steps, and you can add your own nested steps.
  • Logs: logging records, captured stdout/stderr, failure details, skip and xfail reasons.
  • Attachments: anything you attach, plus the screenshots, traces and videos pytest-playwright produces.
  • Never gets in the way: when Orangebeard is not configured the plugin does nothing, and reporting problems never fail your tests.

Install

pip install orangebeard-pytest

The plugin is picked up automatically by pytest (entry point pytest11).

Configure

Configuration is shared with the other Orangebeard listeners. Environment variables or an orangebeard.json (searched from the pytest rootdir upwards):

{
  "endpoint": "https://app.orangebeard.io/{your-organization}",
  "token": "00000000-0000-0000-0000-000000000000",
  "project": "my-project",
  "testset": "nightly",
  "description": "Nightly regression",
  "attributes": [{"key": "env", "value": "acceptance"}, {"value": "smoke"}]
}
Setting Environment variable pytest option / ini
Endpoint ORANGEBEARD_ENDPOINT --ob-endpoint
Access token ORANGEBEARD_TOKEN (environment or orangebeard.json only)
Project ORANGEBEARD_PROJECT --ob-project, orangebeard_project
Test set ORANGEBEARD_TESTSET --ob-testset, orangebeard_testset
Description ORANGEBEARD_DESCRIPTION --ob-description, orangebeard_description
Attributes ORANGEBEARD_ATTRIBUTES (key:value;tag) --ob-attribute key:value (repeatable)
Existing run ORANGEBEARD_TESTRUN_UUID (report into an announced run; finish it with the Orangebeard CLI)

Precedence: command line, then ini file, then environment / orangebeard.json. The test set defaults to the name of the rootdir. Reporting is active as soon as endpoint, token and project are known.

Other options:

Option Meaning
--orangebeard Fail with a clear error when the configuration is incomplete
--ob-no-report Switch reporting off
orangebeard_log_level (default INFO) Minimum logging level that is reported
orangebeard_report_fixtures user (default), all or none: fixtures reported as steps
orangebeard_max_attachment_mb (50) Larger attachments are skipped (with a warning log)
orangebeard_watch_dirs Extra directories; files a test creates there are attached
orangebeard_log_parameters (true) Send test parameter values (see Parametrized tests)

Steps, logs and attachments in your tests

import orangebeard_pytest as ob

def test_checkout(page):
    with ob.step("Add item to cart"):
        page.click("#add")
        with ob.step("Verify badge"):
            assert page.inner_text("#badge") == "1"
    ob.log("cart looks fine", level="info")
    ob.attach(b"{...}", name="cart.json")        # bytes need a name
    ob.attach("reports/summary.html")            # or a path

@ob.step("Log in")                               # also usable as a decorator
def login(page): ...

The same functions are available through the orangebeard fixture. Outside an Orangebeard run they do nothing, so your tests also work without the plugin configured.

Parametrized tests

Orangebeard treats identically named tests as retries of one test, and a name that changes with the data breaks a test's history. Test names therefore use the ids you give, and never raw test data:

Parametrization Reported as
ids=["admin", "guest"], pytest.param(..., id="admin") test_login[admin], test_login[guest]
an ids= function, pytest_make_parametrize_id, scenario ids, fixture ids test_login[<id>]
no ids, several cases test_login - iteration #1, ... #2
ids for one parametrize, none for another one test_login[admin] - iteration #2
duplicate ids test_login[admin] - iteration #1, ... #2
pytest-playwright (the browser is a parameter) test_login[chromium], test_login[chromium-admin]
no ids, a single case test_login
  • See pytest's documentation for the ways to set ids. Ids longer than 100 characters are treated as data and not used.
  • n is the position of the case among all combinations, so it does not depend on -k, -m or node-id selection.
  • The parameter values (user='alice', retries=3) are logged in full and added to the description (clipped to 2000 characters). This includes anything secret you pass as a parameter; set orangebeard_log_parameters = false to send only pytest's id.
  • Orangebeard's limits are respected: names are clipped to 1024 and descriptions to 4096 characters.

Playwright

Nothing to configure. Everything pytest-playwright writes to its --output directory while a test runs (screenshots, trace.zip, videos) is attached to that test, honouring --screenshot, --tracing and --video:

pytest --screenshot only-on-failure --tracing retain-on-failure --video retain-on-failure

Open a downloaded trace with playwright show-trace trace.zip.

How it is reported

suite  tests            (directory)
 └ suite  test_cart.py  (module)
    └ suite  TestCart   (class)
       └ test  test_checkout[chromium]
          ├ step  setup
          │  └ step  fixture: my_database
          ├ step  call
          │  └ step  Add item to cart
          │     └ step  Verify badge
          └ step  teardown

A test fails on any setup error, test failure, teardown error or strict xpass. Skipped and xfailed tests are SKIPPED.

Limitations

  • pytest-xdist (-n) is not supported yet; reporting is disabled with a warning when it is used.
  • Fixture finalizers are not reported as separate steps; their output ends up in the teardown step.
  • While a phase runs the root logger level is lowered to orangebeard_log_level so records reach the reporter.

Development

pip install -e ".[test]"
python -m pytest

The Playwright tests need a browser: playwright install chromium.

The suite reports itself to Orangebeard (orangebeard.json: project listeners) when ORANGEBEARD_TOKEN is set, locally via a git-ignored .env (see .env.example), in GitHub Actions via the ORANGEBEARD_TOKEN secret. Without a token nothing is reported.

License

Apache-2.0

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases orangebeard-pytest

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229