km3test.reporting

Reporting methods for test outcomes

Module Contents

Classes

Reporter

Class to manage information return

class km3test.reporting.Reporter(configs={}, tests={})[source]

Class to manage information return

Deals with arrays of tests.

Objects:
  • self.results: holding configuration for tests (of type TestConfig)

  • self.reportconfigs: holding input objects to be tested (e.g. files)

create_report(self, tests={}, configs={})[source]
write_file(self, reportobject, outfilename, reporttype)[source]
make_table(self, tablename, tests, parameters='default')[source]

needs a name for the table, test, and parameters which should be retrieved.

return_bool(self, tests={})[source]

Takes dictionary with tests, checks all for success.