Re: [rspec-users] != again

2008-06-04 Thread Matthias Hennemeyer
Am 02.06.2008 um 20:01 schrieb Pat Maddox: What about showing an ugly warning in the test runner? != is a funky edge case that can really bite people. It'd be nice to have it fixed, but then tell the programmer to change it to == because of performance. Pat

Re: [rspec-users] != again

2008-06-02 Thread Pat Maddox
On Sun, Jun 1, 2008 at 1:55 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jun 1, 2008, at 12:17 PM, Matthias Hennemeyer wrote: > >> Hey! >> >> I have implemented a quick solution for the should != .. , should !~ ... >> 'problem'. >> It uses source code inspection (I think it's the only way) a

Re: [rspec-users] != again

2008-06-02 Thread Rick DeNatale
On Sun, Jun 1, 2008 at 10:13 PM, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Jun 1, 2008, at 4:55 PM, David Chelimsky wrote: > >> >> RSpec is already getting dinged for being slower than test/unit. Making it >> run any slower than it already does is a deal breaker for me. >> > > It seems perfec

Re: [rspec-users] != again

2008-06-01 Thread Scott Taylor
On Jun 1, 2008, at 4:55 PM, David Chelimsky wrote: On Jun 1, 2008, at 12:17 PM, Matthias Hennemeyer wrote: Hey! I have implemented a quick solution for the should != .. , should ! ~ ... 'problem'. It uses source code inspection (I think it's the only way) and i've done some benchmarking

Re: [rspec-users] != again

2008-06-01 Thread David Chelimsky
On Jun 1, 2008, at 12:17 PM, Matthias Hennemeyer wrote: Hey! I have implemented a quick solution for the should != .. , should ! ~ ... 'problem'. It uses source code inspection (I think it's the only way) and i've done some benchmarking to see if it's really that slow. A direct comparison

Re: [rspec-users] != again

2008-06-01 Thread Pat Maddox
Very cool. Maybe we could print a warning when people use !=. That would let us get the ugly != bug fixed, but not have the perf issues. Pat On 6/1/08, Matthias Hennemeyer <[EMAIL PROTECTED]> wrote: > Hey! > > I have implemented a quick solution for the should != .. , should ! > ~ ... 'problem'.

[rspec-users] != again

2008-06-01 Thread Matthias Hennemeyer
Hey! I have implemented a quick solution for the should != .. , should ! ~ ... 'problem'. It uses source code inspection (I think it's the only way) and i've done some benchmarking to see if it's really that slow. A direct comparison of running '1.should == 1' with the unmodified rspec sourc