Testbed API
Document the supported helpers for running Blackbox against an isolated testbed.
Abstract
Document the supported helpers for running Blackbox against an isolated testbed.
This page should explain the testbed as an integration boundary and show the supported helpers that manage startup, readiness, evidence, and cleanup.
Audience
Teams that need repeatable local or CI runs against a controlled system under test.
What This Page Should Contain
- The supported testbed helpers.
- The lifecycle they own.
- The inputs they expect and the outputs they produce.
- The difference between a testbed and a plain compose stack.
Content Outline
- Define what the testbed owns: process startup, containers, service readiness, trace collection, and cleanup.
- List the supported helpers and the lifecycle they participate in.
- Show how a scenario starts, exercises, observes, and tears down a testbed.
- Explain how the testbed differs from using an existing Docker Compose stack.
- Link to troubleshooting pages for Docker, readiness, and missing spans.
Practical Guidance
- Show one minimal helper flow.
- Call out the supported defaults before customization.
- Explain what the testbed cleans up for the user.
- State what to do when readiness or trace capture fails.
Evidence To Add
- Minimal code example from the showcase system.
- Table of supported options and defaults.
- Failure examples with the diagnostic output users should expect.