TestFailed
zio.test.junit.TestFailed
class TestFailed(message: String, cause: Throwable = ...) extends AssertionFailedError
Represents a failure of a test assertion. It needs to extend AssertionFailedError for Junit5 platform to mark it as failure
Value parameters
- cause
-
The underlying cause of the failure, if any.
- message
-
A description of the failure.
Attributes
- Source
- TestFailed.scala
- Graph
-
- Supertypes
-
class AssertionFailedErrorclass AssertionErrorclass Errorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- AssertionFailedError
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- AssertionFailedError
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- AssertionFailedError
Attributes
- Inherited from:
- AssertionFailedError
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- AssertionFailedError
In this article