From: Phlip Date: 2009-03-29T09:00:11+09:00 Subject: Re: [ANN] testy.rb - ruby testing that's mad at the world ara.t.howard wrote: > . it.should.not.merely.be.a.unit.testing.with.a.clever.dsl How about you simply let the programmer write anything they want, and then if it returns false or nil you rip their entire expression and report the name and value of every variable within it? assert{ foo > 41.8 and foo < 42.1 } => false foo => 40.9 Notice we didn't need to tell the assertion the variable's name was 'foo'. This rewards programmers for writing readable code. You get the maximum reflection for the leanest statements. Honestly I think it's _lack_ of a nauseatingly kewt DSL that inhibits adoption of assert{ 2.0 }...