Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2289

Re: [ANN] test-unit-must 0.0.1

From Suraj Kurapati <sunaku@gmail.com>
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> (permalink)
References <cfb323eb2e0b9f718ff0aae0e6eef1a5@ruby-forum.com>
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 <cfb323eb2e0b9f718ff0aae0e6eef1a5@ruby-forum.com>
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

Show key headers only | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[ANN] test-unit-must 0.0.1 Suraj Kurapati <sunaku@gmail.com> - 2011-03-30 01:46 -0500
  Re: [ANN] test-unit-must 0.0.1 Suraj Kurapati <sunaku@gmail.com> - 2011-04-04 19:19 -0500
  Re: [ANN] test-unit-must 0.0.1 Suraj Kurapati <sunaku@gmail.com> - 2011-04-14 18:22 -0500

csiph-web