# Class: TestResult

## vertx-unit-js/test_result~ TestResult

#### new TestResult()

  The result of a test.
  Source:
    - test_result.js, line 30

### Methods

#### beginTime() → {number}

  The time at which the test began in millis.
  Source:
    - test_result.js, line 59

  ##### Returns:

  Type
    number

#### durationTime() → {number}

  How long the test lasted in millis.
  Source:
    - test_result.js, line 76

  ##### Returns:

  Type
    number

#### failed() → {boolean}

  Did it fail?
  Source:
    - test_result.js, line 110

  ##### Returns:

  Type
    boolean

#### failure() → {Failure}

  An exception describing failure, null if the test succeeded.
  Source:
    - test_result.js, line 127

  ##### Returns:

  Type
    Failure

#### name() → {string}

  The test description, may be null if none was provided.
  Source:
    - test_result.js, line 42

  ##### Returns:

  Type
    string

#### succeeded() → {boolean}

  Did it succeed?
  Source:
    - test_result.js, line 93

  ##### Returns:

  Type
    boolean