Interface ITestResultProvider


public interface ITestResultProvider
Implementations of this interface can provide a test result when asked. This is used by a Galasa test to find out what the current test result is.
  • Method Details

    • getResult

      @NotNull @NotNull IResult getResult()
      Gets the overall test class result.
      Returns:
      The IResult which can be queried for whether the test class has passed or failed at this point. It will never be null. The returned result can be neither passing nor failing. If the test has not completed, then it won't have passed yet.
    • getTestMethodResults

      List<ITestMethodResult> getTestMethodResults()
      Gets the list of individual test method results.
      Returns:
      The list of ITestMethodResults which includes the method name, if it passed, if it failed, and thrown exception.