From: "bpettichord@..." Date: 2006-05-17T14:52:45+09:00 Subject: Re: Forcing some code to run at the end of tests There is a good reason for this. test-unit itself puts code in an END block that creates and executes a test runner if one hasn't already been created. And END blocks are executed (at the end) in the REVERSE order than how they were defined. Therefore, you have to define your END block before 'test/unit' is loaded. Or create the test runner yourself.