flutter_gherkin
flutter_gherkin copied to clipboard
Tests marked as passed falsely
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