Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGrade ¶
GenerateGrade outputs a grade file based on input test results and input grading policy
Types ¶
type Grade ¶
type Grade struct { GradeName string RequiredPassingTests []claim.Identifier NextGrade *Grade }
Grade is a single grade object from policy file
type GradeResult ¶
type GradeResult struct { Name string Propose bool Pass []claim.Identifier Fail []claim.Identifier }
GradeResult is the grade output object
func NewGradeResult ¶
func NewGradeResult(gradeName string) GradeResult
NewGradeResult creates a new object without nil properties
Click to show internal directories.
Click to hide internal directories.