You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestExecutionResultConditions currently provides a cause() condition that matches if an exception's cause matches all supplied conditions.
However, unless I've overlooked something, there is currently no easy way to create a condition that matches if an exception's root cause matches all supplied conditions.
While writing tests for the Spring Framework, I had a need for a rootCause() condition and implemented that in a new EngineTestKitUtils utility class.
Deliverables
Introduce rootCause() condition in TestExecutionResultConditions.
Document in Release Notes.
The text was updated successfully, but these errors were encountered:
Overview
TestExecutionResultConditions
currently provides acause()
condition that matches if an exception's cause matches all supplied conditions.However, unless I've overlooked something, there is currently no easy way to create a condition that matches if an exception's root cause matches all supplied conditions.
While writing tests for the Spring Framework, I had a need for a
rootCause()
condition and implemented that in a newEngineTestKitUtils
utility class.Deliverables
rootCause()
condition inTestExecutionResultConditions
.The text was updated successfully, but these errors were encountered: