Package org.junit

Class TestCouldNotBeSkippedException

All Implemented Interfaces:
Serializable

public class TestCouldNotBeSkippedException extends RuntimeException
Indicates that a test that indicated that it should be skipped could not be skipped. This can be thrown if a test uses the methods in Assume to indicate that it should be skipped, but before processing of the test was completed, other failures occured.
Since:
4.13
See Also:
  • Field Details

  • Constructor Details

    • TestCouldNotBeSkippedException

      public TestCouldNotBeSkippedException(AssumptionViolatedException cause)
      Creates an instance using the given assumption failure.