codegen library

Runtime surface used by the code emitted by testeador's build_runner builders (lib/test_injector.g.dart in consumer packages).

User code typically does NOT import this directly — it consumes TestInjector from the generated file. The exports here are public only so the generated file can resolve them without reaching into package:testeador/src/....

Classes

CapturedTest
Snapshot of a single test('name', body, tags: [...]) call discovered during codegen and materialized at runtime through the captured.dart shim.
CaptureState
Per-file mutable buffer used by runCapture to collect captured tests.
Registry
In-memory index of every captured test produced by the codegen.

Functions

runCapture(CaptureState state, void entryPoint()) List<CapturedTest>
Runs entryPoint under state, collecting every test(...) call made during execution into CaptureState.captured. Returns that list.