testbox.system.reports

Class SimpleReporter

lucee.Component
    extended by testbox.system.reports.BaseReporter
      extended by testbox.system.reports.SimpleReporter

Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A simple HTML reporter

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any getName()
         Get the name of the reporter.
    any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'], [boolean justReturn='false'])
         Do the reporting thing here using the incoming test results.
     
    Methods inherited from class testbox.system.reports.BaseReporter
    getPageContextResponse, init, resetHTMLResponse
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    getName

    public any getName()

    Get the name of the reporter


    runReport

    public any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'], [boolean justReturn='false'])

    Do the reporting thing here using the incoming test results The report should return back in whatever format they desire and should set any Specific browser types if needed.

    Parameters:
    results - The instance of the TestBox TestResult object to build a report on
    testbox - The TestBox core object
    options - A structure of options this reporter needs to build the report with
    justReturn - Boolean flag that if set just returns the content with no content type and buffer reset