Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#185: Fixed missed scenarios for BDD #189

Merged
merged 4 commits into from
Aug 30, 2024
Merged

Conversation

grey-rain
Copy link
Collaborator

@grey-rain grey-rain commented Aug 30, 2024

Issue

#185

Cause

It seems like call order for listeners of different types has been changed.
Current fix is implemented only for BDD Scenarios (since we've got a request), however, other types of tests also have issues reporting their Failed results.
Screenshot 2024-08-29 at 22 20 11

Issues in other test types results will be addressed separately.

@grey-rain grey-rain added the bug label Aug 30, 2024
@grey-rain grey-rain self-assigned this Aug 30, 2024
@grey-rain grey-rain requested a review from Invictum as a code owner August 30, 2024 03:36
@grey-rain grey-rain changed the title Fixed missed scenarios for BDD #185: Fixed missed scenarios for BDD Aug 30, 2024
@grey-rain grey-rain linked an issue Aug 30, 2024 that may be closed by this pull request
Invictum
Invictum previously approved these changes Aug 30, 2024
TestType testType = TestType.byTestSource(testOutcome.getTestSource());
if (testType == TestType.BDD) {
testFinished(testOutcome);
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. This might be dangerous without extensive testing of all supported bdd style tests.
  2. Might worths to add a unit test for this logic.

@grey-rain grey-rain merged commit d95616f into develop Aug 30, 2024
1 check passed
@grey-rain grey-rain deleted the 185_missed_failed_scenarios branch August 30, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missed failed Scenario Outline test examples in the report
2 participants