The Submission Test Object

{
  "id": 1, // assigned by codePost API
  "submission": 42,
  "testCase": 104,
  "passed": false,    
  "logs": "Output: 4, Expected: -1",
  "isError": false,
}

Attribute

Type

Description

id

integer

Unique identifier for the object.

submission

integer

ID of the Submission this Submission Test corresponds to.

testCase

integer

ID of the Test Case this Submission Test corresponds to.

logs

string

Any logs associated with this Submission Test. You can use this field to store meta-data related to the test result encoded by this object.

passed

boolean

Whether the rest run represented by this Submission Test passed.

isError

boolean

Whether the test run represented by this Submission Test produced an error. Defaults to False.