[][src]Module mocktopus::mocking

For use in testing code: mocking tools

Structs

MockContext

MockContext allows for safe capture of local variables.

Enums

MockResult

Controls mocked function behavior when returned from mock closure

Traits

Mockable

Trait for setting up mocks

Functions

clear_mocks

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