exunit_json_formatter v0.1.0 ExUnitJsonFormatter

Formats ExUnit output as a stream of JSON objects (roughly compatible with Mocha’s json-stream reporter)

Link to this section Summary

Functions

Receives test stats and formats them to JSON

Receives a test case and formats its failure

Receives a test and formats its failure

Receives a test and formats its information

Link to this section Functions

Link to this function format_stats(map, run_us, load_us)

Receives test stats and formats them to JSON

Link to this function format_test_case_failure(test_case, failures)

Receives a test case and formats its failure.

Link to this function format_test_failure(test, failures)

Receives a test and formats its failure.

Link to this function format_test_pass(test)

Receives a test and formats its information