Class TestMethodAnnotations

java.lang.Object
net.serenitybdd.junit.runners.TestMethodAnnotations

public final class TestMethodAnnotations
extends java.lang.Object
Utility class used to read Serenity annotations for a particular JUnit test.
Author:
johnsmart
  • Method Summary

    Modifier and Type Method Description
    java.lang.String driverOptions()  
    static TestMethodAnnotations forTest​(org.junit.runners.model.FrameworkMethod method)  
    boolean isDriverSpecified()  
    java.lang.String specifiedDriver()  

    Methods inherited from class java.lang.Object

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

    • forTest

      public static TestMethodAnnotations forTest​(org.junit.runners.model.FrameworkMethod method)
    • isDriverSpecified

      public boolean isDriverSpecified()
    • specifiedDriver

      public java.lang.String specifiedDriver()
    • driverOptions

      public java.lang.String driverOptions()