Skip to main content

A REST API service for the imbus testbench to manage defects.

Project description

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.

Project 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.1.0.tar.gz (619.3 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.1.0-py3-none-any.whl (570.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for testbench_defect_service-0.1.0.tar.gz
Algorithm Hash digest
SHA256 640dbc20265168dfdb0072716eb77eb8500fbaad68cc5b9203c2a798c2b69cd2
MD5 d2ccd4a8f7333a944bd2a59c85207a2c
BLAKE2b-256 0ea33933972175d4cd30b8f341569a4a4c1b6254452306b93bf9b5a8a5bea71a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for testbench_defect_service-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b53dfb983b9d912e357fe1665dca4017f3b40e24559ce88792d6039a772392c7
MD5 7028faae3e56faaa157283a869b3f169
BLAKE2b-256 06a62855fbb2ae83ecde978caea94b5b6f7a2a90c487d4c45bd45f97d4bc9c01

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