minitest version 1.6.0 has been released!
Published 2010-03-27 @ 17:33
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)
1.6.0 / 2010-03-27
10 minor enhancements:
- Added –seed argument so you can reproduce a random order for debugging.
- Added documentation for assertions
- Added more rdoc and tons of :nodoc:
- Added output to give you all the options you need to reproduce that run.
- Added proper argument parsing to minitest.
- Added unique serial # to spec names so order can be preserved (needs tests). (phrogz)
- Empty ‘it’ fails with default msg. (phrogz)
- Remove previous method on expect to remove 1.9 warnings
- Spec#it is now order-proof wrt subclasses/nested describes.
- assert_same error message now reports in decimal, eg: oid=123. (mattkent)
2 bug fixes:
- Fixed message on refute_same to be consistent with assert_same.
- Fixed method randomization to be stable for testing.