io.vertx.ext.unit.report

## Interface TestResult

-     public interface TestResult

  The result of a test.
  Author:
    Julien Viet

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `beginTime()` The time at which the test began in millis.
    `long` | `durationTime()` How long the test lasted in millis.
    `boolean` | `failed()` Did it fail?
    `Failure` | `failure()` An exception describing failure, null if the test succeeded.
    `String` | `name()` The test description, may be null if none was provided.
    `boolean` | `succeeded()` Did it succeed?

- - ### Method Detail

    - #### name

          String name()

      The test description, may be null if none was provided.

    - #### beginTime

          long beginTime()

      The time at which the test began in millis.

    - #### durationTime

          long durationTime()

      How long the test lasted in millis.

    - #### succeeded

          boolean succeeded()

      Did it succeed?

    - #### failed

          boolean failed()

      Did it fail?

    - #### failure

          Failure failure()

      An exception describing failure, null if the test succeeded.

Copyright © 2023 Eclipse. All rights reserved.