Class: TestResult

vertx-unit-js/test_result~ TestResult

new TestResult()

The result of a test.
Source:

Methods

beginTime() → {number}

The time at which the test began in millis.
Source:
Returns:
Type
number

durationTime() → {number}

How long the test lasted in millis.
Source:
Returns:
Type
number

failed() → {boolean}

Did it fail?
Source:
Returns:
Type
boolean

failure() → {Failure}

An exception describing failure, null if the test succeeded.
Source:
Returns:
Type
Failure

name() → {string}

The test description, may be null if none was provided.
Source:
Returns:
Type
string

succeeded() → {boolean}

Did it succeed?
Source:
Returns:
Type
boolean