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

Bugfix/issue 755 #778

Merged
merged 5 commits into from
Dec 10, 2021
Merged

Bugfix/issue 755 #778

merged 5 commits into from
Dec 10, 2021

Conversation

l-1squared
Copy link
Collaborator

No description provided.

Signed-off-by: l-1sqared <[email protected]>

Issue-755: set up testcases

Signed-off-by: l-1sqared <[email protected]>
The source of the incorrect timings is that the StepInterceptor and the ScenarioModelBuilder have different concepts about what a step is. Consequently, in the eyes of the scenario builder, the stepMethodFinished is called way more often than it should be. This is the source of incorrect timings in the presence of nested steps, intro and filler words.

The current solution tries to track the and accomodate for the difference in understandings when it comes to timings.

The limitation on timing is part of what makes this implementation so awful.

Signed-off-by: l-1sqared <[email protected]>
@l-1squared l-1squared requested a review from fudler December 8, 2021 15:25
@l-1squared l-1squared self-assigned this Dec 8, 2021
}
}

if (!hasNestedSteps && !parentSteps.isEmpty()) {
currentStep = parentSteps.peek();
}

if (discrepancyOnLayer.peek() > 0) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the condition should be placed in the decrement discrepancy method

Signed-off-by: Christian Oertel <[email protected]>
@fudler fudler merged commit 308622c into master Dec 10, 2021
@fudler fudler deleted the bugfix/Issue-755 branch December 10, 2021 09:56
@l-1squared l-1squared linked an issue Jan 12, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

introduction words interfere with duration reporting
2 participants