Tag: github

  • Using H2 In-Memory to test your DAL

    Using H2 In-Memory to test your DAL

    How should we test the Data Access Layer code? Many developers ask that question. Similar to the other layers of your system, it should be fully tested to prevent unexpected and random behavior in production. There are many ways to achieve that, among of which are mocks or in-memory database. The problem with mocks is that…