Sha256: 06ae638cb36c57ec099614f36a506a506187afa3d79650c158cdb6c2b3de6d4e
Contents?: true
Size: 891 Bytes
Versions: 1
Compression:
Stored size: 891 Bytes
Contents
######################################################################################################################## # Defines the interface of a reporter. ######################################################################################################################## require_relative 'test_result' module Rproof class AbstractReporter def report_campaign_begin end def report_suite_begin(id, name, description) end def report_test_begin(id, name, description) end def report_assertion(assertion) end def report_warning(warning) end def report_exception(exception) end def report_test_end(id, test_result) end def report_suite_end(id, test_results) end # test_results is either a Test_Result or a Test_Result Array def report_campaign_end(test_results, start_time, end_time) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rproof-0.0.1 | lib/rproof/abstract_reporter.rb |