1. Computing
Michael Morin

Unit Testing with MiniTest: More Assertions

By May 31, 2013

Follow me on:

Like Test::Unit, MiniTest provides a small library of assertions for you to use.  While you can just cram any statement into assert or refute, it's much more readable to use some of the other assertion methods, such as assert_empty or assert_respond_to.

No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.