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
Given JGiven version 0.9.3
And a test failing with an exception or on timeout
When the test is executed
Then the report does not contain the exception type (that is the failure reason)
Example:
@Test(timeOut = 1000)
public void shouldFailOnTimeout() throws Exception {
when().$("sleeping too much", //$NON-NLS-1$
new StepFunction<When<Any, ?>>() {
@Override
public void apply(final When<Any, ?> stage)
throws Exception {
Thread.sleep(2000);
}
});
}
Given JGiven version 0.9.3
And a test failing with an exception or on timeout
When the test is executed
Then the report does not contain the exception type (that is the failure reason)
Example:
Is reported as follows:
Note the "FAILED:" line. It does not contain the reason.
And another example:
The text was updated successfully, but these errors were encountered: