Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Eclipse Tractus-X SDK TestLab

Eclipse Tractus-X Test Lab

TestLab is the testing framework built into the Tractus-X SDK. It enables you to author, compile, distribute, and execute automated test cases against dataspace connectors and industry services — without writing any Python code.

Test authors write declarative YAML tests describing the steps to execute, the services to connect to, the assertions to evaluate, and the cleanup to perform. TestLab takes care of the rest: validation, encryption, packaging, execution, and structured reporting.

Key Components

  • Tests — YAML-defined test sequences composed of reusable, predefined steps
  • Compiler — Validates tests at compile time and packages them into portable, encrypted-by-default .testpkg artifacts
  • Player — An async executor deployable as standalone CLI or embeddable in an existing application, with cryptographic identity for package authorization
  • Services — Managed SDK service lifecycle for connector, provider, and DTR instances with automatic initialization and reuse across steps
  • Server — FastAPI-based callback/webhook engine with dynamically mounted routes for async request/response patterns

How It Works

Tests can declare long-lived services that persist for the test duration (avoiding repeated initialization), configure callback endpoints to receive async responses, and leverage runtime variable resolution. These tests are compiled with strict validation, packaged into distributable artifacts, and executed by the Player — which resolves runtime variables, manages step sequencing, evaluates assertions, orchestrates managed services, and provides live execution status.

Tests with steps like (e.g., provision_asset, negotiate_contract, validate_aspect_model) can be included inside of test cases, which enable reusability and personalized configurations for different scenarios.

Getting Started

Please refer to the INSTALL.md for installation instructions.

Documentation

Detailed documentation is available in the docs directory.

Contributing

Please refer to the CONTRIBUTING.md file for information on how to contribute to this project.

License

Distributed under the Apache License 2.0. See LICENSE for code and LICENSE_non-code for non-code content.

NOTICE

This work is licensed under the Apache-2.0.

Release files for tractusx-testlab 1.0.0a2

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

Source distribution (sdist)

Source distribution for tractusx-testlab 1.0.0a2
File Size Uploaded
tractusx_testlab-1.0.0a2.tar.gz 291.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tractusx-testlab 1.0.0a2
File Interpreter ABI Platform
tractusx_testlab-1.0.0a2-py3-none-any.whl Python 3 none any Details

Total release size: 826.6 kB

Release files / tractusx_testlab-1.0.0a2.tar.gz

Download URL tractusx_testlab-1.0.0a2.tar.gz
Size 291.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c203677600dacc5c4e300542063e9f683d4dc4d63ea0da08f041b42fecaa52f2
BLAKE2b-256 checksum
How to use checksums
e5b0fac116aa1cd9debc522f4f99e0b4ec968c3c3501442abd4a0b6df31f8b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / tractusx_testlab-1.0.0a2-py3-none-any.whl

Download URL tractusx_testlab-1.0.0a2-py3-none-any.whl
Size 535.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ada799c6c4b4797f47351d101a0fef6f616c4f19f304596b7cbae82afcfbab4c
BLAKE2b-256 checksum
How to use checksums
0c895f584adb75bf38e0ad344a280a0f2cba4689972cdffc4687af1bd7d1e923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9
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