To avoid testing against the actual database, one might use a _________ database in integration testing.

  • Mock
  • In-memory
  • NoSQL
  • Distributed
To prevent integration tests from impacting the actual database, an in-memory database is often used. It simulates database behavior but operates entirely in memory, making tests faster and isolated. It's a common practice in ASP.NET Core testing.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *