Class BaseBeforeAfter

    • Constructor Detail

      • BaseBeforeAfter

        public BaseBeforeAfter()
    • Method Detail

      • setAlwaysRun

        public void setAlwaysRun​(boolean alwaysRun)
      • setInheritGroups

        public void setInheritGroups​(boolean inheritGroups)
      • getAlwaysRun

        public boolean getAlwaysRun()
        Description copied from interface: IBaseBeforeAfter
        For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
        For after methods (afterSuite, afterClass, ...): If set to true, this configuration method will be run even if one or more methods invoked previously failed or was skipped.
        Specified by:
        getAlwaysRun in interface IBaseBeforeAfter
      • getInheritGroups

        public boolean getInheritGroups()
        Specified by:
        getInheritGroups in interface IBaseBeforeAfter
        Returns:
        true if this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
      • getAfterGroups

        public java.lang.String[] getAfterGroups()
      • setAfterGroups

        public void setAfterGroups​(java.lang.String[] afterGroups)
      • getBeforeGroups

        public java.lang.String[] getBeforeGroups()
      • setBeforeGroups

        public void setBeforeGroups​(java.lang.String[] beforeGroups)