Choose between in-process `tower::ServiceExt::oneshot` tests and real `tokio::net::TcpListener` server tests for Axum services in this repository.
Use this skill when working on Axum tests that currently start a server or could be simplified.
Prefer oneshot when the test only verifies:
Use:
use tower::ServiceExt;
oneshot is available through tower::ServiceExt.
Keep a real TcpListener + axum::serve(...) when the test needs:
reqwest, tokio_tungstenite, etc.) as the thing under testhttp:// or ws://Repository guidance:
crates/transcribe-cactus/tests/batch.rs style tests are good oneshot candidatescrates/transcribe-cactus/tests/live.rs WebSocket tests should stay real-serverAfter changes:
pnpm exec dprint fmt