Skip to content

Method to reset Call counters #157

@MetalRex101

Description

@MetalRex101

It would be very helpful to have something live ResetCalls method to to reset all Call counters (if possible) and Per method reset Call counter methods.
Sometimes you doesn't have direct access to mock and to avoid doing something like that:

mock := GetMock()
freshCountersMock := &Mock{}
*mock = *freshCountersMock

it would be very helpful to just call reset methods.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions