From: Suraj Kurapati Newsgroups: comp.lang.ruby Subject: Re: [ANN] test-unit-must 0.0.1 Date: Mon, 4 Apr 2011 19:19:03 -0500 Organization: Service de news de lacave.net Lines: 18 Message-ID: <4636f06c58498e3c82db0a27b26086df@ruby-forum.com> References: NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1301972548 68271 65.111.164.187 (5 Apr 2011 03:02:28 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Tue, 5 Apr 2011 03:02:28 +0000 (UTC) In-Reply-To: X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 380948 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <4636f06c58498e3c82db0a27b26086df@ruby-forum.com> Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:2289 I just released version 0.0.2 containing a performance fix: * Define missing negative versions of positive assertion programatically. Do not use method_missing() because when we previously defined it in the `Test::Unit::Must::Assertions` module and included that into the global `Object` class, every missing method *anywhere* in Ruby was being handled by our method_missing() handler!!! This made test execution *very* slow. Thanks to Wilson Freitas for suggesting that I use "profile" standard library to find out what was slowing down my "must" assertions! -- Posted via http://www.ruby-forum.com/.