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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manta_sdk-0.3.0.tar.gz.
File metadata
- Download URL: manta_sdk-0.3.0.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
151983d5231d66a1c748fc5a1c13eb057633550cab25efd12022374a6433aa07
|
|
| MD5 |
13434c14f48a5087367bb308b555889b
|
|
| BLAKE2b-256 |
4c0dfbd8355fcaf0803f2da9c8881539cfbdee7d15413c98234933b45329d325
|
File details
Details for the file manta_sdk-0.3.0-py3-none-any.whl.
File metadata
- Download URL: manta_sdk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86edb1cd83af82b441239d07ffb79f1cea1167ac07ab9473ec5aa7b2c525aa41
|
|
| MD5 |
834d6b1f3328c4c94a3c737aa5a82279
|
|
| BLAKE2b-256 |
e41bae5ab73e181ef83f01997540e02f0ebcf2e737b97733b9adcb023cb7e718
|