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

Improve breakage tests #1262

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Improve breakage tests #1262

merged 1 commit into from
Oct 24, 2023

Conversation

ericcornelissen
Copy link
Owner

@ericcornelissen ericcornelissen commented Oct 24, 2023

Relates to #1233

Summary

Add breakage tests verifying that the Shescape and Stubscape constructors by themselves behave the same way between the development head and last released version.

This should improve confidence as without these tests there is a chance that the implementation is changed such that, e.g., on the development head the constructor throws where in the last version all methods would throw instead (which is a breaking change). By having a test dedicated to the constructor, the described scenario would be caught.

Add tests verifying that the `Shescape` and `Stubscape` constructors by
themselves behave the same way between the development head and last
released version.

This should improve confidence as without these tests there is a chance
that the implementation is changed such that, e.g., on the development
head the constructor throws where in the last version all methods would
throw instead (which is a breaking change). By having a test dedicated
to the constructor, the described scenario would be caught.

Also some reformatting because I didn't like the way the tests were
written before.
@ericcornelissen ericcornelissen added the test Relates to testing label Oct 24, 2023
@ericcornelissen ericcornelissen enabled auto-merge (squash) October 24, 2023 18:34
@ericcornelissen ericcornelissen merged commit 1cffe74 into main Oct 24, 2023
31 checks passed
@ericcornelissen ericcornelissen deleted the improve-breakage-tests branch October 24, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Relates to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant