minitest version 1.3.0 has been released!

| | Comments (2)

minitest/unit is a small and fast replacement for ruby's huge and slow test/unit. This is meant to be clean and easy to use both as a regular test writer and for language implementors that need a minimal set of methods to bootstrap a working unit test suite.

mini/spec is a functionally complete spec engine.

mini/mock, by Steven Baker, is a beautifully tiny mock object framework.

(This package was called miniunit once upon a time)

Changes:

1.3.0 / 2008-10-09

  • 2 major enhancements:

    • renamed to minitest and pulled out test/unit compatibility.
    • mini/test.rb is now minitest/unit.rb, everything else maps directly.
  • 12 minor enhancements:

    • assert_match now checks that act can call =~ and converts exp to a regexp only if needed.
    • Added assert_send... seems useless to me tho.
    • message now forces to string... ruby-core likes to pass classes and arrays :(
    • Added -v handling and switched to @verbose from $DEBUG.
    • Verbose output now includes test class name and adds a sortable running time!
    • Switched message generation into procs for message deferment.
    • Added skip and renamed fail to flunk.
    • Improved output failure messages for assertinstanceof, assertkindof
    • Improved output for assertrespondto, assert_same.
    • at_exit now exits false instead of errors+failures.
    • Made the tests happier and more readable imhfo.
    • Switched index(s) == 0 to rindex(s, 0) on nobu's suggestion. Faster.
  • 5 bug fixes:

    • 1.9: Added encoding normalization in mu_pp.
    • 1.9: Fixed backtrace filtering (BTs are expanded now)
    • Added back exceptiondetails to assertraises. DOH.
    • Fixed shadowed variable in mock.rb
    • Fixed stupid muscle memory message bug in assert_send.
  • http://rubyforge.org/projects/bfts

2 Comments

Would be way nice to include the functionality of "assert 2.0" Thanks. -=R

Also nice might be to incorporate some of the principles/functionality of testNG in there :) Thanks for your hard work. Your projets rock. -=R

Leave a comment

About this Entry

This page contains a single entry by zenspider published on October 9, 2008 4:58 PM.

hoe version 1.8.0 has been released! was the previous entry in this blog.

minitest_tu_shim version 1.3.0 has been released! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.23-en