Skip to content

1.0.0

Compare
Choose a tag to compare
@palkan palkan released this 21 Jan 12:55
· 237 commits to master since this release

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.

📖 Documentation

  • Make Rails fixtures accesible in before_all.

You can load and access fixtures when explicitly enabling them via before_all(setup_fixtures: true, &block).

📖 Documentation

  • Add after_all to Minitest in addition to before_all.

  • Add support for RSpec aliases detection when linting specs using let_it_be/before_all with rubocop-rspec 2.0.

📖 Documentation

Changes

  • Minitest's before_all is not longer experimental.

  • Remove deprecated AggregateFailures cop.

  • Remove ActiveRecordSharedConnection.

  • Replaced TestProf::AnyFixture.reporting_enabled = true with TestProf::AnyFixture.config.reporting_enabled = true.