Interface TestResult


  • public interface TestResult
    The result of a test.
    Author:
    Julien Viet
    • 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.