From: listrecv@... Date: 2005-11-15T00:32:16+09:00 Subject: Putting unit test cases in the code - RDoc & UnitTest Hi. I find that the best place to put unit test cases is in the file for the class being tested itself. This puts everything in the same place, and also makes examples readily available for someone trying to understand the code. Question 1: Can I do this without having Test::Unit automatically run the tests, every time the file is require 'd? Question 2: How can I do this so that RDoc shows the examples in the generated documentation?