Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

STUBS method #24

Closed
Closed
@duskhacker

Description

@duskhacker

Ok, now that we've got the *Times thing out of the way, the other thing I really miss is a STUBS method. I'd like to discuss this first with you before I go and try to contribute it, maybe cut down on the back-and-forth a bit.

When I've used other mocking frameworks, I use

  • A "STUBS" method to indicate "This test does not care that this method is called, it is simply here to allow the code under test to run"
  • A "EXPECTS" method to indicate "This is the expectation that this test cares about"

Would you be open to that addition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions