Class TestNGUtil


  • public class TestNGUtil
    extends Object
    Util class for TestNG based tests.
    Since:
    8.0
    Author:
    Vladislav.Rassokhin
    • Constructor Detail

      • TestNGUtil

        public TestNGUtil()
    • Method Detail

      • skip

        public static void skip​(@NotNull
                                String description)
        Allows to skip current test.
        Parameters:
        description - why that test should be skipped.
        See Also:
        SkipException
      • skipUnderTeamCity

        public static void skipUnderTeamCity​(@NotNull
                                             String description)
        Allows to skip current test.
        Parameters:
        description - why that test should be skipped.
        See Also:
        SkipException