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

org.testng.asserts.IAssertLifecycle Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng.asserts;

/** Life cycle methods for the assertion class. */
public interface IAssertLifecycle {
  /** Run the assert command in parameter. */
  void executeAssert(IAssert assertCommand);

  /** Invoked when an assert succeeds. */
  void onAssertSuccess(IAssert assertCommand);

  /** Invoked when an assert fails. */
  void onAssertFailure(IAssert assertCommand, AssertionError ex);

  /** Invoked before an assert is run. */
  void onBeforeAssert(IAssert assertCommand);

  /** Invoked after an assert is run. */
  void onAfterAssert(IAssert assertCommand);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy