Skip to content

test(e2e): add strict schema validation to ensure real api behaviour match - #295

Merged
BoxBoxJason merged 1 commit into
mainfrom
test/292-strict-schema-validation
Jul 16, 2026
Merged

test(e2e): add strict schema validation to ensure real api behaviour match#295
BoxBoxJason merged 1 commit into
mainfrom
test/292-strict-schema-validation

Conversation

@BoxBoxJason

Copy link
Copy Markdown
Owner

Description of your changes

This PR adds a strict validation mechanism to the e2e tests. This allows a (CI) e2e tests failure if the SDK specs differ from the API response, making the SDK completely reliable on e2e tested endpoints.

This also fixes detected drifts in API surfaces for both community & enterprise endpoints.

Closes #292

I have:

  • Followed the git conventional commit message format.
  • Made sure all changes are covered by proper tests, reaching a coverage of at least 80% when applicable.

How has this code been tested

I have:

  • Made sure make lint passes to verify that the code style is correct.
  • Made sure make test passes to verify that the code is working as intended.
  • Made sure make e2e passes to verify that end-to-end tests pass against a real SonarQube instance.
  • Added unit tests to cover the code changes.
  • Added end-to-end tests if necessary.

…match

Signed-off-by: BoxBoxJason <contact@boxboxjason.dev>
@BoxBoxJason BoxBoxJason added this to the User Production Readiness milestone Jul 16, 2026
@BoxBoxJason BoxBoxJason self-assigned this Jul 16, 2026
@BoxBoxJason BoxBoxJason added enhancement New feature or request unit-test Unit test related work e2e end to end tests related work sdk SonarQube golang SDK related work ai This issue / PR was (over 50%) AI generated labels Jul 16, 2026
@BoxBoxJason
BoxBoxJason merged commit 1022fa6 into main Jul 16, 2026
6 checks passed
@BoxBoxJason
BoxBoxJason deleted the test/292-strict-schema-validation branch July 16, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai This issue / PR was (over 50%) AI generated e2e end to end tests related work enhancement New feature or request sdk SonarQube golang SDK related work unit-test Unit test related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[E2E] Strict validation for structures

1 participant