BlueBird v0.4.2 BlueBird.Formatter
Catches the :suite_finished event fired by ExUnit and triggers the
generation of the api blueprint file.
BlueBird.Formatter has to be used as an ExUnit formatter.
Usage
Add BlueBird.Formatter as a formatter in test_helper.exs. Don't forget
to add BlueBird.start/0 as well.
BlueBird.start()
ExUnit.start(formatters: [ExUnit.CLIFormatter, BlueBird.Formatter])
Link to this section Summary
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
handle_cast(msg, state)
Event listener that triggers the generation of the api blueprint file when
receiving a :suite_finished message by ExUnit.
Link to this function
init(config)
init(config)
init(args :: term()) :: {:ok, nil}
init(args :: term()) :: {:ok, nil}
Initializes the handler.