Test::Unit

Test::Unit

ri

 ------------------------------------------------------ Class: Test::Unit
 
 TEST::UNIT - RUBY UNIT TESTING FRAMEWORK
 ========================================
 
 Introduction
 ------------
      Unit testing is making waves all over the place, largely due to the
      fact that it is a core practice of XP. While XP is great, unit
      testing has been around for a long time and has always been a good
      idea. One of the keys to good unit testing, though, is not just
      writing tests, but having tests. What's the difference? Well, if
      you just _write_ a test and throw it away, you have no guarantee
      that something won't change later which breaks your code. If, on
      the other hand, you _have_ tests (obviously you have to write them
      first), and run them as often as possible, you slowly build up a
      wall of things that cannot break without you immediately knowing
      about it. This is when unit testing hits its peak usefulness.
 
      Enter Test::Unit, a framework for unit testing in Ruby, helping you
      to design, debug and evaluate your code by making it easy to write
      and have tests for it.
 
 
 Notes
 -----
      Test::Unit has grown out of and superceded Lapidary.
 
 
 Feedback
 --------
      I like (and do my best to practice) XP, so I value early releases,
      user feedback, and clean, simple, expressive code. There is always
      room for improvement in everything I do, and Test::Unit is no
      exception. Please, let me know what you think of Test::Unit as it
      stands, and what you'd like to see expanded/changed/improved/etc.
      If you find a bug, let me know ASAP