A collection of test case results that correspond to a single test file.
test_case_resultsThe TestCaseResult objects that make up this test file
filenameThe name of the test file
pointsThe point value of the test file or a list of test case point values
new()Create a test file result.
TestFileResult$new(filename, test_case_results, points = NULL)filenameThe name of the test file
test_case_resultsThe TestCaseResult objects that make up this test file
pointsThe point value of the test file or a list of test case point values
get_basename()Get the basename of the file this result corresponds to.
TestFileResult$get_basename()The basename of the test file
get_score()Get the total score earned for this test file as a percentage. Uses
TestCaseResult$get_score() to determine the points earned for each test
case.
TestFileResult$get_score()The score as a percentage.
repr()Convert this result into a human-readable string for display.
TestFileResult$repr()The string representation of this result
to_list()Convert this result to a JSON-compatible list with all of its fields.
TestFileResult$to_list()The list representation of this result
clone()The objects of this class are cloneable with this method.
TestFileResult$clone(deep = FALSE)deepWhether to make a deep clone.