Changelog History
Page 1
-
v1.0.10 Changes
August 12, 2022- ๐ Allow overriding global logger. ([@palkan][])
require "test_prof/recipes/logging" TestProf::Rails::LoggingHelpers.logger = CustomLogger.new
-
v1.0.9 Changes
May 05, 2022๐ Add
AnyFixture.before_fixtures_reset
andAnyFixture.after_fixtures_reset
callbacks. ([@ruslanshakirov][])๐ Fixes ActiveRecord 6.1 issue with AnyFixture and Postgres config ([@markedmondson][])
-
v1.0.8 Changes
March 11, 2022โช Restore the lock_thread value after rollback. ([@cou929][])
๐ Fixes the configuration of a printer for factory_prof runs
0๏ธโฃ Ensure that defaults are stored in a threadsafe manner
-
v1.0.7 Changes
August 30, 2021Fix access to
let_it_be
variables inafter(:all)
hook. ([@cbarton][])โ Add support for using the before_all hook with Rails' parallelize feature (using processes). ([@peret][])
โ Make sure to include
TestProf::BeforeAll::Minitest
before you callparallelize
. -
v1.0.6 Changes
June 23, 2021๐ Fix Spring detection when
DISABLE_SPRING=1
is used. ([@palkan][])โ Make
before_all
in Minitest inheritable. ([@palkan][])
-
v1.0.5 Changes
May 13, 2021- ๐ Fix logging regression when no newline has been added. ([@palkan][])
-
v1.0.4 Changes
May 12, 2021- โ Add ability to use custom logger. ([@palkan][])
TestProf.configure do |config| config.logger = Logger.new($stdout, level: Logger::WARN) end
- โ Add
nate_heckler
mode for FactoryProf. ([@palkan][])
โ Drop this into your
rails_helper.rb
ortest_helper.rb
:require "test_prof/factory_prof/nate_heckler"
๐ And for every test run see the overall factories usage:
[TEST PROF INFO] Time spent in factories: 04:31.222 (54% of total time)
-
v1.0.3 Changes
April 30, 2021- ๐ Minor fixes.
-
v1.0.2 Changes
February 26, 2021- Make
before_all(setup_fixtures: true)
compatible with Rails 6.1. ([@palkan][])
- Make
-
v1.0.1 Changes
February 12, 2021- ๐ Fixed AnyFixture deprecation warning.