org.specrunner.report
Interface IReporter

All Known Subinterfaces:
IReporterGroup
All Known Implementing Classes:
ReporterGroupImpl, ResumeReporter

public interface IReporter

A reporter. The reporter should extract information to final dump.

Author:
Thiago Santos

Method Summary
 void analyse(IContext context, IResultSet result, Map<String,Object> model)
          Add information to the reporter.
 Object partial(SRServices services)
          Short information about report.
 void report(SRServices services)
          Dump report information.
 

Method Detail

analyse

void analyse(IContext context,
             IResultSet result,
             Map<String,Object> model)
Add information to the reporter.

Parameters:
context - Test context.
result - The result.
model - The model.

partial

Object partial(SRServices services)
Short information about report.

Parameters:
services - The services instance to be used. This is required, since report is made on shutdown process, where SRServices.get() is not available.
Returns:
A partial version of resume.

report

void report(SRServices services)
Dump report information.

Parameters:
services - The services instance to be used. This is required, since report is made on shutdown process, where SRServices.get() is not available.


Copyright © 2015. All rights reserved.