Permalink
Commits on Jun 24, 2008
  1. Fixed and improved rdoc.

    floehopper committed Jun 24, 2008
Commits on May 5, 2008
  1. Should take respond_to? into account when deciding whether a method e…

    floehopper committed May 5, 2008
    …xists for the purpose of stubbing. Note that this is not currently implemented for AnyInstance or for protected or private methods.
  2. Updated TODO list.

    floehopper committed May 5, 2008
  3. Improved implementation of ExecutionPoint in order to get better test…

    floehopper committed May 5, 2008
    … error messages when no backtrace is supplied or an empty backtrace is supplied.
Commits on May 1, 2008
  1. Fixed a nasty bug relating to stubbing the same method twice on an ac…

    floehopper committed May 1, 2008
    …tive record association proxy. The association proxy was claiming not the be the same object as itself (using Object#equal?), so we use Object#object_id equality instead which seems to work.
  2. Removed the word 'acceptance' from acceptance test names - they are a…

    floehopper committed May 1, 2008
    …ll in the acceptance directory after all.
Commits on Apr 5, 2008
  1. Added configurable warnings or errors when a method on a non-existent…

    floehopper committed Apr 5, 2008
    … method is stubbed. I'd have liked to make the default behaviour provide warnings, but ActiveRecord doesn't implement respond_to? correctly e.g for dynamic finders.
Commits on Mar 18, 2008
  1. Fix bug #18914 - Classes that override '==' are likely to experience …

    floehopper committed Mar 18, 2008
    …mocking 'failures' (where the original method is called instead of the mocked method). Use #equal? instead of #== or #eql? on stubbee to determine whether ClassMethod instances are equivalent.
  2. Fix bug #18917 - any_of seems to be broken. Also fix similar but less…

    floehopper committed Mar 18, 2008
    … significant bug with all_of.
Commits on Mar 10, 2008
  1. Ooops. Fix broken build.

    floehopper committed Mar 10, 2008
  2. Added hyphens when listing unsatisfied expectations, satisfied expect…

    floehopper committed Mar 10, 2008
    …ations and states, so that the regular expression in TextMate's Ruby bundle run_script.rb doesn't mistake a Mocha error message for a stack trace line.
Commits on Mar 9, 2008
  1. Nasty fix so that TestCaseAdaptor works consistently with earlier ver…

    floehopper committed Mar 9, 2008
    …sions of Test::Unit as well as more recent versions.
  2. Added configurable warnings or errors when a method on a non-mock obj…

    floehopper committed Mar 9, 2008
    …ect is stubbed. This may be useful for hard-core mockists.
  3. Added configurable warnings or errors when a method is stubbed unnece…

    floehopper committed Mar 9, 2008
    …ssarily i.e. the stubbed method is not called during the test.
Commits on Mar 8, 2008
  1. Fake version of public_methods, protected_methods & private_methods s…

    floehopper committed Mar 8, 2008
    …hould have a default parameter value to more accurately represent reality.
  2. Fix bug #18336 - private methods not left properly unchanged after st…

    floehopper committed Mar 8, 2008
    …ubbing. And related bugs. Added much more extensive acceptance level testing around this area.
Commits on Feb 29, 2008
Commits on Feb 25, 2008
  1. Reverted revision 283 - seems like it breaks a bunch of tests with Ra…

    floehopper committed Feb 25, 2008
    …ils association proxies and dynamically added attributes. Probably need to provide a fix in the Rails plugin...?