flutter_gherkin icon indicating copy to clipboard operation
flutter_gherkin copied to clipboard

Tests marked as passed falsely

Open youssef-t opened this issue 2 years ago • 0 comments

Current behavior When an error occurs in a hook executed before a scenario, the test is marked as passed.

The expected result The test should be marked as failed because it wasn't run.

Cause The root cause of the problem is that the test is presumed as passed at the start: https://github.com/jonsamwell/flutter_gherkin/blob/8f34c8221ad39dd05829ebb100c6f4595ca0883e/lib/src/flutter/runners/gherkin_integration_test_runner.dart#L184

youssef-t avatar Jan 31 '23 14:01 youssef-t