Class SoftAssert

  • All Implemented Interfaces:
    IAssertLifecycle

    public class SoftAssert
    extends Assertion
    When an assertion fails, don't throw an exception but record the failure. Calling assertAll() will cause an exception to be thrown if at least one assertion failed.
    • Constructor Detail

      • SoftAssert

        public SoftAssert()
    • Method Detail

      • assertAll

        public void assertAll()
      • assertAll

        public void assertAll​(java.lang.String message)