Skip to content

Add option to skip certain responses in coverage calculation#339

Merged
ahx merged 1 commit intomainfrom
skip-response-coverage
Mar 25, 2025
Merged

Add option to skip certain responses in coverage calculation#339
ahx merged 1 commit intomainfrom
skip-response-coverage

Conversation

@ahx
Copy link
Copy Markdown
Owner

@ahx ahx commented Mar 25, 2025

  OpenapiFirst::Test.setup do |s|
    test.register('openapi/openapi.yaml')
    test.skip_response_coverage { it.status == '401' }
  end

@ahx ahx force-pushed the skip-response-coverage branch from 4daf9c3 to 0acdbd8 Compare March 25, 2025 22:17
@ahx ahx force-pushed the skip-response-coverage branch from 0acdbd8 to 4f4e364 Compare March 25, 2025 23:12
@ahx ahx merged commit ca5f0f2 into main Mar 25, 2025
32 checks passed
@ahx ahx deleted the skip-response-coverage branch March 25, 2025 23:14
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.

1 participant