View Source Bonny.Axn.Test (bonny v1.4.0)
Conveniences for testing Axn steps.
This module can be used in your test cases, like this:
use ExUnit.Case, async: true
use Bonny.Axn.Test
Using this module will:
- import all the functions from this module
- import all the functions from the
Bonny.Axn
module - import all the functions from the
Pluggable.Token
module
Summary
Functions
@spec assigns(Bonny.Axn.t()) :: map()
@spec axn(atom(), Keyword.t()) :: Bonny.Axn.t()
@spec descendants(Bonny.Axn.t()) :: [Bonny.Resource.t()]
@spec events(Bonny.Axn.t()) :: [Bonny.Event.t()]
@spec status(Bonny.Axn.t()) :: map()