A REST API service for the imbus testbench to manage defects.
Project description
TestBench Defect Service
Introduction
A lightweight REST API service for imbus TestBench that provides a unified interface for creating and synchronising defects with external defect tracking systems.
Features
- Multiple clients: JSONL files for testing/offline use, or Jira Cloud and Data Center via REST API
- Unified REST API: a single API surface regardless of the underlying defect tracker
- Interactive setup wizard:
testbench-defect-service initgenerates a complete config in seconds - Swagger UI: built-in interactive API docs at
/docs - Per-project overrides: field mappings and configuration per project key
- Pre/post sync hooks: run shell commands before or after sync operations
- HTTPS & mTLS: optional TLS and mutual TLS for production deployments
- Extensible: implement
AbstractDefectClientto connect any defect tracker
Installation
With pip (Python 3.10–3.14 required):
pip install testbench-defect-service
Optional extras for additional clients:
| Client | Data source | Install command |
|---|---|---|
| JSONL (default) | .jsonl files |
included in base install |
| Jira | Jira Cloud / Data Center REST API | pip install testbench-defect-service[jira] |
Standalone executable (no Python required): download the pre-built binary from the GitHub releases page.
Quickstart
# 1. Create a configuration interactively
testbench-defect-service init
# 2. Start the service
testbench-defect-service start
The service runs at http://127.0.0.1:8030 by default. Open /docs for the interactive Swagger UI.
Documentation
Full documentation is available on the TestBench Ecosystem documentation site:
- Introduction
- Installation
- Quickstart
- Configuration
- CLI Commands
- Clients overview
- TestBench Integration
Contributing
Contributions are welcome. See CONTRIBUTING.md for setup instructions and guidelines.
Changelog
See CHANGELOG.md for release history.
License
Apache 2.0 — see LICENSE for details.
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 testbench_defect_service-0.1.0.tar.gz.
File metadata
- Download URL: testbench_defect_service-0.1.0.tar.gz
- Upload date:
- Size: 619.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.33.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
640dbc20265168dfdb0072716eb77eb8500fbaad68cc5b9203c2a798c2b69cd2
|
|
| MD5 |
d2ccd4a8f7333a944bd2a59c85207a2c
|
|
| BLAKE2b-256 |
0ea33933972175d4cd30b8f341569a4a4c1b6254452306b93bf9b5a8a5bea71a
|
File details
Details for the file testbench_defect_service-0.1.0-py3-none-any.whl.
File metadata
- Download URL: testbench_defect_service-0.1.0-py3-none-any.whl
- Upload date:
- Size: 570.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.33.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b53dfb983b9d912e357fe1665dca4017f3b40e24559ce88792d6039a772392c7
|
|
| MD5 |
7028faae3e56faaa157283a869b3f169
|
|
| BLAKE2b-256 |
06a62855fbb2ae83ecde978caea94b5b6f7a2a90c487d4c45bd45f97d4bc9c01
|