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.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:

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testbench_defect_service-0.2.0.tar.gz (635.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testbench_defect_service-0.2.0-py3-none-any.whl (578.6 kB view details)

Uploaded Python 3

File details

Details for the file testbench_defect_service-0.2.0.tar.gz.

File metadata

File hashes

Hashes for testbench_defect_service-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4bbf89e75d465fad06d37a781e393220c94267a8d315abd32f073156d5cb3a13
MD5 5740da153cbc1b859b5646a2a61a66f3
BLAKE2b-256 c05107fa7886a68a958a93e292ba36089b0c83f9651a0f48c7c5bb1148caf88f

See more details on using hashes here.

File details

Details for the file testbench_defect_service-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for testbench_defect_service-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 876fda9dbd2fee2706de15b1248d5c7abcb85acf29bdf5d829b1148460255257
MD5 dec93c688dc5bdf404ec8798c828ae0b
BLAKE2b-256 85910841f3caa1aa2d7af2fcd5a63d3d540335dbf9d182023122942a794488a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page