gradema.grader.console¶
Package Contents¶
Classes¶
A GraderReporter provides functionality to report on things occurring during the grading process. |
Functions¶
|
- class gradema.grader.console.ConsoleGraderReporter¶
Bases:
gradema.grader.GraderReporterA GraderReporter provides functionality to report on things occurring during the grading process.
- property test_reporter: gradema.test.TestReporter¶
- section: gradema.section.Section¶
- console: rich.console.Console¶
- stdout: TextIO¶
- stderr: TextIO¶
- subsection(section: gradema.section.Section) gradema.grader.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
- gradema.grader.console.run_grader(args: list[str], section: gradema.section.Section) int¶