Class ErrorsCollector

    • Field Detail

      • LISTENER_SOFT_ASSERT

        public static final java.lang.String LISTENER_SOFT_ASSERT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ErrorsCollector

        public ErrorsCollector()
    • Method Detail

      • failIfErrors

        public void failIfErrors​(java.lang.String testName)
        1. Clears all collected errors, and 2. throws SoftAssertionError if there were some errors
        Parameters:
        testName - any string, usually name of current test
      • validateAssertionMode

        public static void validateAssertionMode​(Config config)