BlueBird v0.3.7 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
handle_cast(msg, state)
handle_cast(request :: term, state :: term) :: {:noreply, nil}
Event listener that triggers the generation of the api blueprint file on when
receiving a :suite_finished
message by ExUnit
.
Initializes the handler.