SexySpex.Reporter (sexy_spex v0.1.0)

View Source

Handles reporting and output formatting for spex execution.

Provides a clean interface for tracking spex execution progress and generating human-readable output.

Summary

Functions

Reports failure of a scenario.

Reports successful completion of a scenario.

Reports failure of a specification.

Reports successful completion of a specification.

Starts reporting for a new scenario.

Starts reporting for a new specification.

Reports execution of a Given-When-Then step.

Functions

scenario_failed(name, error)

Reports failure of a scenario.

scenario_passed(name)

Reports successful completion of a scenario.

spex_failed(name, error)

Reports failure of a specification.

spex_passed(name)

Reports successful completion of a specification.

start_scenario(name)

Starts reporting for a new scenario.

start_spex(name, opts \\ [])

Starts reporting for a new specification.

step(type, description)

Reports execution of a Given-When-Then step.