Skip to main content

pytest-testmu

TestMu AI (Formerly LambdaTest) is an Agentic AI Quality Engineering platform that assures AI deployments across the enterprise and the real world. It runs agentic testing for web and mobile apps on 3,000+ browsers and 50,000+ real devices, and for chat, voice, IVR, video, and image agents.

pytest-testmu is a pytest plugin for Kane CLI. It adds a kane fixture that runs a browser test written in plain English and fails the pytest test when the Kane CLI run does not pass.

Install

pip install pytest-testmu
npm install -g @testmuai/kane-cli
kane-cli login

The plugin calls Kane CLI on your machine, so Kane CLI must be installed and signed in. Each run uses Kane CLI credits.

Use it

def test_pricing_lists_pro_plan(kane):
    kane.run("Check that the Pro plan is listed", url="https://example.com/pricing")

kane.run() returns the run result: status, summary, reason, credits_consumed, final_state and test_url. Pass check=False to get the result without failing the test.

Options

  • --kane-headed: run with a visible browser instead of headless.
  • --kane-timeout SECONDS: stop each Kane CLI run after this many seconds.

Metadata

Release files for pytest-testmu 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-testmu 0.1.0
File Size Uploaded Provenance Actions
pytest_testmu-0.1.0.tar.gz 7.5 kB Without provenance Details for pytest_testmu-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-testmu 0.1.0
File Interpreter ABI Platform Actions
pytest_testmu-0.1.0-py3-none-any.whl Python 3 none any Details for pytest_testmu-0.1.0-py3-none-any.whl

Total release size: 15.6 kB

Release files / pytest_testmu-0.1.0.tar.gz

Download URL pytest_testmu-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9ab783a44b922fe8e50ae14c2ed09329c7c02569f3aca8b4f89fb4d55ff92602
BLAKE2b-256 checksum
How to use checksums
07f7ea30795a1dfc5fca7feba96f94932d4188b4de93b1393d1f4662772b9917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / pytest_testmu-0.1.0-py3-none-any.whl

Download URL pytest_testmu-0.1.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83f7aab05617634d459f9bea32044b9cb00821098a39932d711199ef262f6b4b
BLAKE2b-256 checksum
How to use checksums
b21be9f829558d36edd9b9c7b03c65e64742165262cff182b109c88e2833e6c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for pytest-testmu 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page