You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for advice on unit testing when using WhereBulkContains.
We normally use another one of your products, Entity Framework Effort, for unit testing our repositories. However, because it's InMemory database, it's not compatible with WhereBulkContains. This is putting us in the position where in order to use the feature we need to sacrifice our test coverage, which is not always acceptable and therefore is limiting our ability to use the it. Could you advise how we can unit test methods that utilise WhereBulkContains?
The text was updated successfully, but these errors were encountered:
There are not a lot of alternatives you can do. To test this method, you must have a real "test" database. That's and will always be the best way for you to test your project/our library.
We were hoping to mock the functionality in order to be able to unit test our repository logic, rather than testing the WhereBulkContains itself. Normally we use another of zzzprojects library - Effort for this purpose, so it's a bit of a shame that WhereBulkContains isn't compatible with this product.
Unfortunately, time is limited, so that's impossible to do everything we wish. We currently move very slowly and already have a very big backlog list, so the support for this will never happen in all honestly.
Hello,
I'm looking for advice on unit testing when using
WhereBulkContains
.We normally use another one of your products, Entity Framework Effort, for unit testing our repositories. However, because it's
InMemory
database, it's not compatible withWhereBulkContains
. This is putting us in the position where in order to use the feature we need to sacrifice our test coverage, which is not always acceptable and therefore is limiting our ability to use the it. Could you advise how we can unit test methods that utiliseWhereBulkContains
?The text was updated successfully, but these errors were encountered: