#actix #mock #actor #testing

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

#78 in #mock

ISC license

6KB
87 lines


lib.rs:

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

~4–9.5MB
~151K SLoC