Module mocktopus::mocking

source ·
Expand description

For use in testing code: mocking tools

Structs

MockContext allows for safe capture of local variables.

Enums

Controls mocked function behavior when returned from mock closure

Traits

Trait for setting up mocks

Functions

Clear all mocks in the ThreadLocal; only necessary if tests share threads