Class: TestResult

TestResult(test)

Represents the result of a test

Constructor

new TestResult(test)

Parameters:
Name Type Description
test Test The test that generated these results
Source:

Members

interactionResults

Get the list of interaction results for this test
Source:

locale

Returns the locale of the current test results
Source:

passed

Returns true if all of the interactions in this test have passed, false otherwise
Source:

skipped

Indicates if the current test was skipped, the cause could be that it was manually skipped or there was an external error on the process
Source:

test

Returns the Test that generated these results
Source:

Methods

addInteractionResult(interactionResult)

Add one interaction result in the list of results for this test
Parameters:
Name Type Description
interactionResult InteractionResult The interaction result to add
Source:

toDTO() → {object}

returns a non circular DTO version of the testResult object
Source:
Returns:
Type
object