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()
        Description copied from interface: IBaseBeforeAfter
        If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
        Specified by:
        getInheritGroups in interface IBaseBeforeAfter
      • getAfterGroups

        public String[] getAfterGroups()
      • setAfterGroups

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

        public String[] getBeforeGroups()
      • setBeforeGroups

        public void setBeforeGroups​(String[] beforeGroups)