-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hello @kaste, as we discussed in in issue #97 there isn't an implementation for InOrder. I would like to implement it but I need your opinion.
I think we should be able write something like this:
in_order: inOrder = inOrder(first_mock, second_mock)
in_order.verify(first_mock.a_method())
in_order.verify(second_mock.other_method())The idea is to use the in_order object as a container to remember the invocations during the test of differents mocks using the methods already implemented in verify and the data structure of Mock that remembers the invocations.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels