This is the first major version of TestProf: the APIs have been stabilized, all the features we planned initially have been implemented and battle-tested. The work on v1.x will continue (mostly, maintenance, minor features), and the work on new version, v2, is starting.
P.S. You can support us on GitHub Sponsors.
Features
- Add
AnyFixture#register_dump
to cache fixtures using SQL dumps.
- Make Rails fixtures accesible in
before_all
.
You can load and access fixtures when explicitly enabling them via before_all(setup_fixtures: true, &block)
.
-
Add
after_all
to Minitest in addition tobefore_all
. -
Add support for RSpec aliases detection when linting specs using
let_it_be
/before_all
withrubocop-rspec
2.0.
Changes
-
Minitest's
before_all
is not longer experimental. -
Remove deprecated
AggregateFailures
cop. -
Remove
ActiveRecordSharedConnection
. -
Replaced
TestProf::AnyFixture.reporting_enabled = true
withTestProf::AnyFixture.config.reporting_enabled = true
.