gradema.grader._reporter

Module Contents

Classes

GraderReporter

A GraderReporter provides functionality to report on things occurring during the grading process.

class gradema.grader._reporter.GraderReporter

Bases: abc.ABC

A GraderReporter provides functionality to report on things occurring during the grading process.

abstract property test_reporter: gradema.test.TestReporter
abstract report_start(max_points: int) None
abstract report_test_result(result: gradema.test.TestResult, points: int, max_points: int) None
abstract subsection(section: gradema.section.Section) GraderReporter

Creates a similar GraderReporter containing the passed subsection and updated attributes to correctly report on a subsection.

Parameters:

section – A subsection of the current section being reported on.

Returns:

The modified GraderReporter