You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to assert on the order of invocations? We have some complicated legacy code, and want to make sure that collaborators of the function under test are invoked in the right order.
Is there any way of doing this through Counterfeiter without providing stubs for every function we care about? We're currently appending messages to an array on each invocation so we can assert the order, but it's a bit clunky.
The text was updated successfully, but these errors were encountered:
Thanks for making Counterfeiter!
Is it possible to assert on the order of invocations? We have some complicated legacy code, and want to make sure that collaborators of the function under test are invoked in the right order.
Is there any way of doing this through Counterfeiter without providing stubs for every function we care about? We're currently appending messages to an array on each invocation so we can assert the order, but it's a bit clunky.
The text was updated successfully, but these errors were encountered: