#mocking #actor #actix

actix-mock-helper

Helpers for using the actix mocker actor in tests

3 releases (breaking)

0.3.0 May 26, 2021
0.2.0 Dec 20, 2020
0.1.0 Aug 6, 2020

#763 in Testing

ISC license

7KB
87 lines

actix-mock-helper is a set of helpers for creating mock actors using the Mocker type. That type of actor can be used to simulate any type of mock you could want, but it's very verbose to interact with. actix-mock helper is especially useful in the case that you have multiple messages in a sequence that you want to mock

Dependencies

~5–14MB
~145K SLoC