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 backward-compatibility testing #546

Merged
merged 25 commits into from
Jul 25, 2023

Conversation

westse
Copy link
Contributor

@westse westse commented Jul 18, 2023

  • Attempts to be exhaustive on backward-compatibility coverage to raise confidence that future refactors will not introduce unintended regressions.
  • Each incompatible condition is tested separately by comparing two spec files where the only difference is that fine-grained incompatible condition.
  • In some cases the current behavior appears incorrect. Tests are still added for these to avoid unintended regression, but are given TODO comments for later follow-up.
  • Pre-existing tests have been removed if they are redundant to avoid confusion and to follow the convention.

Closes #545

@joschi joschi self-assigned this Jul 25, 2023
@joschi joschi added this to the 2.1.0 milestone Jul 25, 2023
Copy link
Contributor

@joschi joschi left a comment

Choose a reason for hiding this comment

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

@westse Wow, awesome! Thank you very much for this extensive contribution! ❤️

@joschi joschi changed the title Fix #545 Improve backward-compatibility testing Improve backward-compatibility testing Jul 25, 2023
@joschi joschi merged commit 5a54a6a into OpenAPITools:master Jul 25, 2023
@westse westse deleted the backcompat-tests branch July 26, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backward-compatibility test coverage
2 participants