View Source nuntius_sup (nuntius v0.0.3)

Link to this section Summary

Functions

Starts a new mock process.

See also: nuntius:new/2.

Terminates a mocking process. Reregisters the mocked process with its name.

Link to this section Functions

-spec mocked() -> [nuntius:process_name()].
-spec start_link() -> {ok, pid()} | {error, term()}.
Link to this function

start_mock(ProcessName, Opts)

View Source
-spec start_mock(nuntius:process_name(), nuntius:opts()) -> ok | {error, not_found}.
Starts a new mock process.

See also: nuntius:new/2.

-spec stop_mock(nuntius:process_name()) -> ok | {error, not_mocked}.
Terminates a mocking process. Reregisters the mocked process with its name.