use of org.junit.jupiter.api.extension.ConditionEvaluationResult in project junit5 by junit-team.
the class ScriptExecutionEvaluatorTests method defaultConditionEvaluationResultProperties.
@Test
void defaultConditionEvaluationResultProperties() {
Script script = script(EnabledIf.class, "true");
ConditionEvaluationResult result = evaluate(script);
assertFalse(result.isDisabled());
assertThat(result.toString()).contains("ConditionEvaluationResult", "enabled", "true", "reason");
}
Aggregations