Module: HotCell::TestSupport
- Defined in:
- lib/hot_cell/test_support.rb
Overview
Fixtures and waits for the suites of all three gems, shipped rather than copied.
Same reasoning as hot_cell/test_cell.rb shipping from hotcell-server: a helper every consumer needs is
one every consumer should get, not one each writes again. Before this, with_file had three
byte-identical copies, wait_until had two — one of them inside a test file rather than a helper — and
the monotonic clock was hand-rolled six times in code that already loads HotCell::Clock.
It lives in hotcell-core because that is the gem all three load. Requiring it is opt-in, so nothing here reaches a production graph unless a suite asks for it.
Include into a Minitest::Test subclass; skip and flunk are called on the including test.