//! Test Support Infrastructure
//!
//! This module provides reusable test utilities for black-box E2E testing.
//! It includes temporary workspace management, external process execution,
//! and environment state assertions.
//!
//! ## Shared vs Local Utilities
//!
//! - `ProcessRunner` - Re-exported from `src/testing/black_box` (shared with `src/bin/`)
//! - `TempWorkspace` - Local to `tests/` (only used by integration tests)
//! - `EnvironmentStateAssertions` - Local to `tests/` (only used by integration tests)
pub use EnvironmentStateAssertions;
pub use TempWorkspace;
// Re-export ProcessRunner from the library's testing module
pub use ProcessRunner;
/// Returns a [`ProcessRunner`] configured to use the pre-built production binary.
///
/// Cargo sets `CARGO_BIN_EXE_torrust-tracker-deployer` to the absolute path of the
/// compiled binary when building integration tests. Cargo guarantees the binary is
/// built as a prerequisite automatically — no race conditions.
///
/// # Panics
///
/// Panics at compile time if the binary name does not exist in the workspace.