Handle missing-in-spec spec association for API coverage report#2354
Merged
Handle missing-in-spec spec association for API coverage report#2354
Conversation
…ciating it to the first spec in endpoints bug: test to prove missing in spec is being dropped from ctrf report
…ccurate reporting
Summary
|
1. applicationAPIs non empty 2. assertions on NOT_IMPLEMENTED coverage status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What:
OpenApiCoverageReportInputWhy:
/pets/searchvs/owners/*caseexecutionDetails.operations, so the multi-spec mapping needs end-to-end protection as wellHow:
/pets/searchis attached to the pets execution detail and not the owners execution detailOpenApiCoverageReportInputand CTRF generation path to keep the tests close to production behaviorChecklist:
Issue ID:
Closes: N/A
Validation:
./gradlew :junit5-support:test --tests "io.specmatic.test.reports.coverage.OpenApiCoverageReportInputTest"./gradlew :junit5-support:test --tests "io.specmatic.test.CtrfApiCoverageReportIntegrationTest"