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.0a0

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.0a0
File Size Uploaded
tractusx_testlab-1.0.0a0.tar.gz 307.0 kB Details

Built distribution (wheel)

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

Total release size: 866.7 kB

Release files / tractusx_testlab-1.0.0a0.tar.gz

Download URL tractusx_testlab-1.0.0a0.tar.gz
Size 307.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f4f4830a10fb7c36f085a0d252c4de74c2ba6c8dc9c84b35f4177f0af21fb4ec
BLAKE2b-256 checksum
How to use checksums
9bc4ad638983e49296eb3bbdb581867e4afa07eaa93c6340508c19fcce2350d1
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.0a0-py3-none-any.whl

Download URL tractusx_testlab-1.0.0a0-py3-none-any.whl
Size 559.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a35274345a8af25561137e825981bd324beea089681ebb9cf2d0e5fc3668ada9
BLAKE2b-256 checksum
How to use checksums
e0b1535d391c2f6d9925789bda3eeb4593fed72ee6f3a22578c54db74c428db3
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