TestCompleted object

Indicates that a test was completed, either because the user submitted the test (navigable tests), reached the last question (non-navigable tests), or the time ran out on a test with a time limit.

It includes the test score, if permitted by the test's author, possibly including any test score transformations. Also, the time spent by the learner on this test is included, expressed in seconds.

Example

{
  "result": {
    "score": 95,
    "timeSpent": 542,
    "transformations": [
      {
        "id": "narrative",
        "result": "very good"
      },
      {
        "id": "outcome",
        "passed": true,
        "result": "passed"
      }
    ]
  }
}