JsonApiDotNetCore icon indicating copy to clipboard operation
JsonApiDotNetCore copied to clipboard

Add OpenApiEndToEndTests

Open bkoelman opened this issue 2 years ago • 1 comments

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 avatar Jan 08 '23 00:01 bkoelman

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

bkoelman avatar Feb 01 '24 23:02 bkoelman