module Riffer::Testing

Builds throwaway agents and tools a test suite can resolve by identifier or constant name, and removes them again. Require riffer/testing/rspec or riffer/testing/minitest to get stub_agent/stub_tool in every example plus per-test cleanup; otherwise include this module and call reset! from your own teardown, or call the methods on the module directly.

Tracking is not synchronized — stub from a single-threaded test, before concurrent lookups begin.