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 2011-04-04 19:19 -0500
Organization Service de news de lacave.net
Message-ID <4636f06c58498e3c82db0a27b26086df@ruby-forum.com> (permalink)
References <cfb323eb2e0b9f718ff0aae0e6eef1a5@ruby-forum.com>

Show all headers | 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