From: Kev Jackson Date: 2005-09-27T11:44:59+09:00 Subject: Re: random testing with Test::Unit >- AOP. Make a wrapper class or module that does pre and post >checks of the methods. Use that wrapper class/module when >testing. When the pre-check fails, the current test would be >aborted/skipped (random generation of inputs yielded something >invalid). When the post-check fails, the test would fail. > > Hi I'd love to see how you implemented this as I wanted to write my own AOP-like code for ruby but I got stuck with my lack of ruby knowledge! Kev