Skip to main content

Manta Test SDK — extensible test runner framework for the Manta platform

Project description

manta-sdk

Public extensible test runner SDK for the Manta platform.

Implement your own test runner by subclassing BaseRunner. The Manta execution engine calls your runner, collects the result, and feeds it into the analytics pipeline automatically.

Installation

uv add manta-sdk
# or
pip install manta-sdk

Quick start

from manta_sdk import BaseRunner, RunContext, RunResult, RunStatus

class MyPytestRunner(BaseRunner):

    async def setup(self, ctx: RunContext) -> None:
        # Install dependencies, configure environment, etc.
        ...

    async def execute(self, ctx: RunContext) -> RunResult:
        # Run pytest programmatically against ctx.test_files
        ...
        return RunResult(run_id=ctx.run_id, status=RunStatus.PASSED, ...)

    async def teardown(self, ctx: RunContext, result: RunResult) -> None:
        # Upload Allure reports, clean up temp files, etc.
        ...

License

Apache 2.0 — see LICENSE.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manta_sdk-0.2.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file manta_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: manta_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for manta_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e90636c53b06df616748581e63f1de8081e7d2f3586f055e381dd65765d6b740
MD5 067877694858a7881ecabd609b5b63ff
BLAKE2b-256 7f735a714fc5e419d51d646ef2d85cbe189012176ab9b16ca4485f6a08354fb8

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