Skip to content

extend test.Fake to provide a more capable mock for functions #21

@deltics

Description

@deltics

test.Fake provides a means to configure a function's single, consistent return value. Sometimes, it would be helpful to configure a mock to return different values for different invocations of a function and to capture the arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions