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

GD-389: The inheritance of a base test class leads to an incorrect test case list. #391

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

#389

What

When the scanner is building the function descriptors, it was using the list of tests and adding the before function to scan. The list to scan was not a copy and results into side effect of the original test list. Fixed by using a copy before adding the before function extended the existing test coverage for test suite inheritance to include the before on the base test suite.

…st case list.

# Why
#389

# What
When the scanner is building the function descriptors, it was using the list of tests and adding the `before` function to scan. The list to scan was not a copy and results into side effect of the original test list.
Fixed by using a copy before adding the `before` function
Extended the existing test coverage for test suite inheritance to include the `before` on the base test suite.
@MikeSchulze MikeSchulze force-pushed the GD-389 branch 5 times, most recently from a5c7832 to b10b908 Compare April 9, 2024 09:56
@MikeSchulze MikeSchulze merged commit 94c5f20 into master Apr 9, 2024
@MikeSchulze MikeSchulze deleted the GD-389 branch April 9, 2024 10:12
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.

GD-389: The inheritance of a base test class leads to an incorrect test case list.
1 participant