Class Report


  • public class Report
    extends java.lang.Object
    Report value type is used to prepare step results. Create result instances in step methods to report step metrics. The metrics collected in the Report instances are returned from the step methods, that are annotated with Scenario.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Report.Builder
      Nested builder type to create new instances of Report.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Getter method for the description.
      int getStatus()
      Getter method for the status code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getStatus

        public int getStatus()
        Getter method for the status code.

        Returns:
        HTTP status code.
      • getDescription

        public java.lang.String getDescription()
        Getter method for the description.

        Returns:
        Description of the result.