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

Add OpenApiEndToEndTests #1243

Closed
bkoelman opened this issue Jan 8, 2023 · 1 comment · Fixed by #1512
Closed

Add OpenApiEndToEndTests #1243

bkoelman opened this issue Jan 8, 2023 · 1 comment · Fixed by #1512
Labels

Comments

@bkoelman
Copy link
Member

bkoelman commented Jan 8, 2023

DESCRIPTION

These tests would:

  1. Compile against a swagger.json file stored in OpenApiTests (server) project to generate a client library.
  2. Reuse the in-memory IntegrationTestContext to set up the server-side database.
  3. Invoke a request against OpenApiTests (webserver) via the generated client library.
  4. Assert on the response via the client-generated library.
  5. Assert on server-side database changes.
@bkoelman
Copy link
Member Author

bkoelman commented Feb 1, 2024

The infrastructure is in place and is being used for several tests already. Leaving this open to add basic test coverage for all endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant