Skip to main content

TestBench Defect Service

PyPI version Python versions License

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 init generates 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 AbstractDefectClient to connect any defect tracker

Installation

With pip (Python 3.11–3.15 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:

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.

Metadata

Release files for testbench-defect-service 0.3.2

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

Source distribution (sdist)

Source distribution for testbench-defect-service 0.3.2
File Size Uploaded Provenance Actions
testbench_defect_service-0.3.2.tar.gz 569.1 kB Without provenance Details for testbench_defect_service-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for testbench-defect-service 0.3.2
File Interpreter ABI Platform Actions
testbench_defect_service-0.3.2-py3-none-any.whl Python 3 none any Details for testbench_defect_service-0.3.2-py3-none-any.whl

Total release size: 1.2 MB

Release files / testbench_defect_service-0.3.2.tar.gz

Download URL testbench_defect_service-0.3.2.tar.gz
Size 569.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4a580cf1d829f97ffa06de57c516f0af07a7f0523b51b7a1505e2dd821fecbf7
BLAKE2b-256 checksum
How to use checksums
f6f0a8229fd3aaf2c401fec5cc73ee473334b2f340084bc38ed9174ae5ea18d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / testbench_defect_service-0.3.2-py3-none-any.whl

Download URL testbench_defect_service-0.3.2-py3-none-any.whl
Size 588.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4aa9749fb62dbee7f5cb9b8b572b51f38009ab56690c4ac3508c80d9d0aab1d9
BLAKE2b-256 checksum
How to use checksums
01ef14d5885173b8c6e3575be02d97d97c1f73c772ed49ca442c5d6056f76d0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for testbench-defect-service 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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