Produces a JSON document with results of the test suite.
Constructors
new(io = STDOUT)
Creates the formatter.
By default, output is sent to STDOUT.
SourceInstance methods
close
Ends the JSON document and flushes output.
Sourcedump_profile(notification)
Adds the profiling information to the document.
Sourcedump_summary(notification)
Adds the summary object to the document.
Sourceexample_finished(notification)
Adds an object containing fields about the example.
Sourcestart(_notification)
Begins the JSON document output.
Sourcestop
Marks the end of the examples array.
Source