errored
Indicates a test has errored. You should pass one or more TestMessages to describe the failure. This differs from the "failed" state in that it indicates a test that couldn't be executed at all, from a compilation error for example.
Parameters
test
Test item to update.
message
Messages associated with the test failure.
duration
How long the test took to execute, in milliseconds.