Skip to content

Improve testing against multiple APIs. Use :api metadata with RSpec#355

Merged
ahx merged 7 commits intomainfrom
test-multiple-apis
May 2, 2025
Merged

Improve testing against multiple APIs. Use :api metadata with RSpec#355
ahx merged 7 commits intomainfrom
test-multiple-apis

Conversation

@ahx
Copy link
Copy Markdown
Owner

@ahx ahx commented Apr 30, 2025

This improves things around testing against multiple API Definitions.

Related to #352

  • Change the target API used by assert_schema_conform to the one passed to include OpenapiFirst::Test::Methods[api: :myapi]
  • Use RSpec test metadata to define the target API RSpec.describe 'some API', api: :some_api do

@ahx ahx force-pushed the test-multiple-apis branch from b185510 to 409514d Compare May 2, 2025 08:44
@ahx ahx merged commit 571a196 into main May 2, 2025
32 checks passed
@ahx ahx deleted the test-multiple-apis branch May 2, 2025 08:45
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