#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

#643 in Testing

24 downloads per month

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–15MB
~147K SLoC