On Thu, Sep 25, 2008 at 8:15 AM, Fujioka <fuj / rabbix.jp> wrote: > Test/Unit was replaced to Miniunit. > Miniunit deprecated these 4 methods : > assert_{not_equal, no_match, not_nil, not_same}, > and replaced to refute_{equal, match, nil, same} > Ruby's assertion methods had 'assert' prefix. > But refute_ is not useful name because: > when I want to use assertion methods, > I will enter 'assert' to search box. > > All of the ruby's assertion methods have 'assert' prefix. > I think this rule is beautiful and useful. > I hope revert the 4 methods replacing. I agree with reversing this deprecation. When I write a test, I'm not *refuting* that something isn't equal, I'm making a positive assertion of inequality (yes, that sounds odd, but it's exactly what I'm doing). A refutation is a negative assertion (I refute that these two things are equal, but you're telling me that they are). I've mostly been using NUnit lately, and I've come to like the "new" approach to tests that they have created: Assert.That(x, Is.Not.EqualTo(y)); There's a lot of stuff it does behind the scenes to make that work, but it reads pretty well. -austin -- Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/ * austin / halostatue.ca * http://www.halostatue.ca/feed/ * austin / zieglers.ca