Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

James Mead's latest activity

Monday, August 09 2010
68 during block for mocha was updated in mocha
  • James Mead
    James Mead commented at 10:44 AM

    Thanks for all the discussion on this ticket. I think everyone has made some good points.

    I agree that it should be easier to "unstub" a method. I thought there...

69 Allow unstubbing of methods was created in mocha
Tuesday, July 27 2010
68 during block for mocha was created in mocha
  • James Mead
    James Mead created the ticket at 9:37 AM

    James,
    Thanks for Mocha!

    There are times when I want to stub something just briefly. Time.now, for instance; in rspecs, or even in cucumber. So I monkey patch m...

Saturday, June 05 2010
50 after mocha update from 0.9.5 to 0.9.6 unit tests fails to execute was updated in mocha
  • James Mead
    James Mead commented at 5:46 PM

    I've pushed up an attempted fix for this [1]. Is there any chance you could try it out?

    I'm not 100% convinced it's a sensible solution, but it seems to do the ...

Tuesday, June 01 2010
50 after mocha update from 0.9.5 to 0.9.6 unit tests fails to execute was updated in mocha
  • James Mead
    • State changed from resolved to open
    by James Mead at 8:13 AM
  • James Mead
    James Mead commented at 8:12 AM

    Hi James,

    That's really helpful - thanks.

    It might be worth trying the same experiment with Mocha built from HEAD. I suspect it won't actually fix the problem, ...

Sunday, May 16 2010
67 expectations changing visibility of methods was created in mocha
Wednesday, March 17 2010
66 Improve performance of backtrace filtering was created in mocha
  • James Mead
    James Mead created the ticket at 7:11 PM

    Nikolai Weibull posted the following to the Mocha mailing list :-

    Mocha::BacktraceFilter creates a new Regexp object for every line of every backtrace it filte...

65 Improve documentation for Expectation#raises was created in mocha
  • James Mead
    James Mead created the ticket at 7:06 PM

    You can pass an instance of the exception as an alternative to the exception class. This is particularly useful when you have an exception with a constructor wi...

Thursday, March 11 2010
64 Investigate RunCodeRun build failures was created in mocha
  • James Mead
    James Mead created the ticket at 12:04 PM

    It looks like there might be a problem with more recent versions of test-unit.