Releases: Gusto/fixture_kit
Releases · Gusto/fixture_kit
v0.9.0
v0.8.0
v0.7.0
Highlights
- Added STI-aware SQL write tracking so fixture caching resolves subclass write events to the base table-owning model.
- Added dummy app STI integration coverage for both RSpec and Minitest.
- Improved cache replay behavior by batching restore statements per connection in
Cache#load. - Moved cache generation into framework lifecycle hooks while keeping runner startup focused on cache clearing/start state.
Tooling and Test Coverage
- Extended unit coverage across runner lifecycle, SQL subscriber event handling, and cache replay behavior.
- Expanded integration coverage in dummy app suites for STI and queue-style execution behavior.
Full Changelog
v0.6.0
Highlights
- Moved fixture cache generation into framework lifecycle hooks:
- RSpec generates per declaring group in
before(:context). - Minitest generates per declaring class in class-level
run_suite.
- RSpec generates per declaring group in
- Simplified runner startup semantics:
Runner#startnow handles startup/clear-cache only.- Cache generation is now framework-driven.
- Improved cache loading performance by batching restore statements per DB connection and issuing one
execute_batchper connection.
Additional updates
- README lifecycle documentation updated to match current behavior.
- Expanded unit coverage for runner lifecycle, RSpec/Minitest entrypoint behavior, and cache batching.
Full Changelog
v0.5.0
Highlights
- Added anonymous fixture declarations in both RSpec and Minitest via
fixture do ... end. - Added cache lifecycle hooks:
on_cache_save(renamed fromon_cache)on_cache_mount(new)
- Improved fixture declaration behavior:
- one fixture declaration per test context
- explicit errors for multiple declarations in the same context
- nested context/class overrides supported
Internal Improvements
- Refactored runner/registry flow to support named and anonymous fixture registration.
- Simplified fixture/cache identity handling, including normalized anonymous cache paths.
- Expanded unit + integration coverage (RSpec and Minitest), including suite count validation.
Full Changelog
v0.4.0
What's Changed
- Remove FixtureKit.configuration and use runner.configuration internally by @ngan in #13
- Add queue-mode integration simulation for late-loaded RSpec batches by @ngan in #14
- Call on_cache before cache generation by @ngan in #15
- Refactor isolators into top-level classes by @ngan in #16
- Add minitest entrypoint and rename mounted repository ivar by @ngan in #17
- Track SQL write events and verify cache dumping coverage by @ngan in #18
Full Changelog: v0.3.0...v0.4.0