Skip to content

Mock API with tests to demo ef-core in-memory issues/bugs/limitations/quirks

Notifications You must be signed in to change notification settings

rpasechnikov/xUnitMockApi

Repository files navigation

xUnitMockApi

Mock dotnet core API with a bunch of unit and a few integration tests to try and reproduce/demonstrate some of the EF core in-memory DB provider issues that I have been experiencing.

Current issues:

  • xUnitMockApi.IntegrationTests.ShouldCreateAndFetchNewVehiclesWithWheelsAndEnginesAsync:ln.99
    • EF seems to be not evaluating relationships, until manually resolving relevant entities
    • Hack/workaround to simply get relevant entities resolves the issue
  • xUnitMockApi.UnitTests.Services.VehicleServiceTests:ln.125
    • Foreign key constraints seem to not be honoured while in-memory db testing

About

Mock API with tests to demo ef-core in-memory issues/bugs/limitations/quirks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages