From: spiralofhope Date: 2011-03-27T09:30:06+09:00 Subject: Re: Clearer errors in 1.9's minitest On Sun, 27 Mar 2011 05:12:51 +0900 Ryan Davis wrote: > You don't actually write your code that way, do you? I'm assuming you're commenting on my general style. Moved to another thread. CCed you. > % sudo gem install ZenTest > % ./x.rb | unit_diff -u Interesting. I played with this and it's not quite what I'm looking for, but it's nice to have that in my toolkit. Thanks. > You already have the source code. Have you read it? It is called > minitest for a reason. Dig in. I hadn't read it. Most source is pretty intimidating at my current skill level. I did just now take a look around and I think I found what I'm looking for. ~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/minitest/unit.rb The assert_equal method, and possibly even mu_pp are the two places I think I could use. I did some initial playing and the results are already vastly more readable to me. I'm a bit surprised I was able to do this. Thanks for the motivation. -- http://spiralofhope.com