gen_dispatcher v0.2.2 GenDispatcher.Test

Test utilities for testing dispatcher integrations

Link to this section Summary

Functions

Imports GenDispatcher.Test

Asserts that an event was dispatched using the test adapter

Refutes that an event was dispatched using the test adapter

Link to this section Functions

Link to this macro __using__(opts) (macro)

Imports GenDispatcher.Test

GenDispatcher.Test and the GenDispatcher.TestAdapter work by sending a message to the current process when an event is dispatched.

Link to this macro assert_dispatched(event) (macro)

Asserts that an event was dispatched using the test adapter

Link to this macro refute_dispatched(event) (macro)

Refutes that an event was dispatched using the test adapter