zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

3 results in tag: tdd

EF Core - Simple unit test of repository pattern

I would like to be able to unit test the ZIPCode Info Repository with very simple unit tests. I'm wondering how I can do this? I could just inject a DbContext that uses a mock database (e.g. RouteMiningTestDB)....However, is there any way I can do this i...
c# entity-framework-core tdd
asked by keelerjr12

TDD: Does EF Core In Memory Provider validates referential constraints?

I'm really excited about in memory feature of EF Core for unit testing. It relieves me of the burden to write dedicated repository, just for the sake of making code unit testable. But merely in memory testing in a collection wont't suffice....Does EF Cor...
c# ef-core-2.0 entity-framework-core tdd unit-testing
asked by Abhijeet

How to write real integration test in .NET Core?

I have two questions, but let me start from the beginning. I have ASP.NET Core 3.1 WebAPI and I'm looking for the most optimal way to end-to-end test my controllers (...I don't want to use ...InMemory... provider...). I separated my tests in two sets: "Re...
.net-core asp.net-core-webapi entity-framework-core integration-testing tdd
asked by Ish Thomas

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!