All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.ext.unit.report.TestCaseReport Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR3
Show newest version
package io.vertx.ext.unit.report;

import io.vertx.codegen.annotations.CacheReturn;
import io.vertx.codegen.annotations.Fluent;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.Handler;

/**
 * Report the execution of a test case.
 *
 * @author Julien Viet
 */
@VertxGen
public interface TestCaseReport {

  /**
   * @return the test case name
   */
  @CacheReturn
  String name();

  /**
   * Set a callback for completion, the specified {@code handler} is invoked when the test exec has completed.
   *
   * @param handler the completion handler
   * @return a reference to this, so the API can be used fluently
   */
  @Fluent
  TestCaseReport endHandler(Handler handler);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy