From: Ryan Davis Date: 2011-01-05T18:48:07+09:00 Subject: [ruby-core:34092] Re: [Backport92-Backport#4200] minitest 2.0.2 on trunk On Jan 5, 2011, at 00:41 , Yugui wrote: > On Wed, Jan 5, 2011 at 2:01 PM, Ryan Davis wrote: >> May I do this? > > I don't want merge any enhancement into ruby_1_9_2. So I hesitated to > merge minitest 2.0.2. Sorry for replying so late. > I will merge only bug fixes later. Or you can do it by yourself. Lucas? Is that you?? Enhancements are mostly in separate files. Leave out minitest/benchmark.rb and that's most of it. I did add some assertions since 1.6.0 (2010-03-27) but it is mostly bug fixes and refactorings. Here are relevant changes: > === 2.0.2 / 2010-12-24 > > * 1 minor enhancement: > > * Completed doco on minitest/benchmark for specs. > > * 1 bug fix: > > * Benchmarks in specs that didn't call bench_range would die. (zzak). > > === 2.0.1 / 2010-12-15 > > * 4 minor enhancements: > > * Do not filter backtrace if $DEBUG > * Exit autorun via nested at_exit handler, in case other libs call exit > * Make options accesor lazy. > * Split printing of test name and its time. (nurse) > > * 1 bug fix: > > * Fix bug when ^T is hit before runner start > > === 2.0.0 / 2010-11-11 > > * 3 major enhancements: > > * Added minitest/benchmark! Assert your performance! YAY! > * Refactored runner to allow for more extensibility. See minitest/benchmark. > * This makes the runner backwards incompatible in some ways! > > * 9 minor enhancements: > > * Added MiniTest::Unit.after_tests { ... } > * Improved output by adding test rates and a more sortable verbose format > * Improved readme based on feedback from others > * Added io method to TestCase. If used, it'll supplant '.EF' output. > * Refactored IO in MiniTest::Unit. > * Refactored _run_anything to _run_suite to make it easier to wrap (ngauthier) > * Spec class names are now the unmunged descriptions (btakita) > * YAY for not having redundant rdoc/readmes! > * Help output is now generated from the flags you passed straight up. > > * 4 bug fixes: > > * Fixed scoping issue on minitest/mock (srbaker/prosperity) > * Fixed some of the assertion default messages > * Fixes autorun when on windows with ruby install on different drive (larsch) > * Fixed rdoc output bug in spec.rb > > === 1.7.2 / 2010-09-23 > > * 3 bug fixes: > > * Fixed doco for expectations and Spec. > * Fixed test_capture_io on 1.9.3+ (sora_h) > * assert_raises now lets MiniTest::Skip through. (shyouhei) > > === 1.7.1 / 2010-09-01 > > * 1 bug fix: > > * 1.9.2 fixes for spec tests > > === 1.7.0 / 2010-07-15 > > * 5 minor enhancements: > > * Added assert_output (mapped to must_output). > * Added assert_silent (mapped to must_be_silent). > * Added examples to readme (Mike Dalessio) > * Added options output at the top of the run, for fatal run debugging (tenderlove) > * Spec's describe method returns created class > >