Name

writeToTestResults — Write the result of a single test to a standardized file for this student on this particular assignment, suite and run_id run of rst.

Synopsis

writeToTestResults {test_id} {marks_earned} {total_marks} {explanation}

Description

This command provides a standard interface for writing the result of each test to a file that accumulates test results. The arguments are, in order:

  1. An identifier for the test
  2. The number of marks earned on the test
  3. The total number of potential marks on the test
  4. An arbitrary string providing an explanation of the mark earned
Topic revision: r1 - 2016-01-11 - YiLee
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback