All Versions
129
Latest Version
Avg Release Cycle
91 days
Latest Release
616 days ago
Changelog History
Page 7
Changelog History
Page 7
-
v5.0.0 Changes
May 10, 2013Oh god... here we go...
โ Minitest 5:
4 deaths in the family:
- MiniTest.runner is dead. No more manager objects.
- MiniTest::Unit#record is dead. Use a Reporter instance instead.
- MiniTest::Unit.run* is dead. Runnable things are responsible for their own runs.
- MiniTest::Unit.output is dead. No more centralized IO.
12 major (oft incompatible) changes:
- Renamed MiniTest to Minitest. Your pinkies will thank me. (aliased to MiniTest)
- Removed MiniTest::Unit entirely. No more manager objects.
- Added Minitest::Runnable. Everything minitest can run subclasses this.
- Renamed MiniTest::Unit::TestCase to Minitest::Test (subclassing Runnable).
- Added Minitest::Benchmark.
- Your benchmarks need to move to their own subclass.
- Benchmarks using the spec DSL have to have "Bench" somewhere in their describe.
- MiniTest::Unit.after_tests moved to Minitest.after_tests
- MiniTest::Unit.autorun is now Minitest.autorun. Just require minitest/autorun pls.
- Removed ParallelEach#grep since it isn't used anywhere.
- Renamed Runnable#name to Runnable#name (but uses @NAME internally).
- Runnable#run needs to return self. Allows for swapping of results as needed.
๐ 8 minor moves:
- Moved Assertions module to minitest/assertions.rb
- Moved Expectations module to minitest/expectations.rb
- Moved Test to minitest/test.rb
- Moved everything else in minitest/unit.rb to minitest.rb
- minitest/unit.rb is now just a small (user-test only) compatibility layer.
- Moved most of minitest/pride into minitest/pride_plugin.
- minitest/pride now just activates pride.
- Moved ParallelEach under Minitest.
9 additions:
- Added a plugin system that can extend command-line options.
- Added Minitest.extensions.
- Added Minitest.reporter (only available during startup).
- Added Minitest.run(args). This is the very top of any Minitest run.
- Added Minitest::Reporter. Everything minitest can report goes through here.
- Minitest.reporter is a composite so you can add your own.
- Added Minitest::CompositeReporter. Much easier to extend with your own reporters.
- Added UnexpectedError, an Assertion subclass, to wrap up errors.
- Minitest::Test#run is now freakin' beautiful. 47 -> 17 loc
11 other:
- Removed Object.infect_with_assertions (it was already dead code).
- Runnables are responsible for knowing their result_code (eg "." or "F").
- Minitest.autorun now returns boolean, not exit code.
- Added FAQ entry for extending via modules. (phiggins)
- Implement Runnable#dup to cleanse state back to test results. Helps with serialization. pair:tenderlove
- Moved ParallelEach under Minitest.
- Runnable#run needs to return self. Allows for swapping of results as needed.
- Minitest.init_plugins passes down options.
- Minitest.load_plugins only loads once.
- Fixed minitest/pride to work with rake test loader again. (tmiller)
- Added count/size to ParallelEach to fix use w/in stdlib's test/unit. :( (btaitelb)
5 voodoo:
- Removed mutex from minitest.rb (phiggins)
- Removed mutex from test.rb (phiggins)
- Removed Minitest::Reporter.synchronize (phiggins)
- Removed Minitest::Test.synchronize (phiggins)
- Upon loading minitest/parallel_each, record, capture_io and capture_subprocess_io are doped with synchronization code. (phiggins)
-
v4.7.5 Changes
June 21, 2013๐ 2 bug fixes:
- Fix Spec#describe_stack to be thread local.
- Fix multithreaded test failures by defining Time local to mock test namespace
-
v4.7.4 Changes
May 01, 2013๐ This is probably the last release of the 4.x series. It will be merged ๐ง to ruby and will be put into maintenance mode there.
I'm not set in stone on this, but at this point further development of โ minitest (5+) will be gem-only. It is just too hard to work w/in โ ruby-core w/ test-unit compatibility holding minitest development back.
2 minor enhancements:
- Added count/size to ParallelEach to fix use w/in stdlib's test/unit. :( (btaitelb)
- Allow disabling of info_signal handler in runner. (erikh)
-
v4.7.3 Changes
April 20, 20131 bug fix:
- Reverted stubbing of module methods change. Stub the user, not the impl. (ab9/tyabe)
-
v4.7.2 Changes
April 18, 2013๐ 2 bug fixes:
- Fixed inconsistency in refute_in_delta/epsilon. I double negatived my logic. (nettsundere)
- Fixed stubbing of module methods (eg Kernel#sleep). (steveklabnik)
-
v4.7.1 Changes
April 09, 20131 minor enhancement:
- Added FAQ section to README
1 bug fix:
- Fixed bug where guard runs tests bypassing minitest/autorun and an ivar isn't set right. (darrencauthon)
-
v4.7.0 Changes
March 18, 20131 major enhancement:
- Refactored MiniTest::Spec into MiniTest::Spec::DSL.
1 bug fix:
- Removed $DEBUG handler that detected when test/unit and minitest were both loaded. (tenderlove)
-
v4.6.2 Changes
February 27, 20131 minor enhancement:
- Change error output to match Class#method, making it easier to use -n filter.
-
v4.6.1 Changes
February 14, 20131 bug fix:
- Fixed an option processing bug caused by test/unit's irresponsibly convoluted code. (floehopper)
-
v4.6.0 Changes
February 07, 20133 major enhancements:
- Removed ::reset_setup_teardown_hooks
- Removed the long deprecated assert_block
- Removed the long deprecated lifecycle hooks: add_(setup|teardown)_hook
1 minor enhancement:
- Allow filtering tests by suite name as well as test name. (lazyatom)
๐ 2 bug fixes:
- Made hex handling (eg object_ids) in mu_pp_for_diff more specific. (maxim)
- nodoc top-level module. (zzak)