Skip to content

StubClock should probably be FakeClock #73

Description

@GoogleCodeExporter
See e.g. http://martinfowler.com/articles/mocksArentStubs.html.  A "stub" is 
normally a pre-programmed implementation that contains no logic or expectations 
(q.v. EasyMock's asStubReturn()), while a "fake" is a better name for something 
that uses a non-production implementation for tests.

As it stands, I suppose that you could argue that StubClock is a stub, in that 
we currently only program it with the current time, but if we were to add any 
additional logic (e.g. as in issue 72), it's no longer an appropriate name.

Original issue reported on code.google.com by malcolm.rowe on 21 Apr 2012 at 9:36

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions