Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Bishop <[email protected]>
  • Loading branch information
justindbaur and withinfocus authored Nov 21, 2024
1 parent 1725368 commit 6c4c99e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/contributing/testing/database/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ use for MySql, Postgres, and SQLite.

The goal of database tests is to test the business logic that is encapsulated in a given method. If
the stored procedure in SQL Server then calls another procedure to update the
`User.AccountRevisionDate` then the same EF implementation should do that as well. Then by running
the test against all variants, we are ensuring all the variants are feature equal. Locally, you may
want to only the SQL Server tests along with one EF implementation, SQLite is often the easiest.
`User.AccountRevisionDate` then the same EF implementation should do that as well. By running
the test against all variants we are ensuring all the variants are feature-equal. Locally, you may
want to only run the SQL Server tests along with one EF implementation; SQLite is often the easiest in that situation.
This may work well for a very long time and save you some time overall but there are differences
between the EF database providers such that you will one day get errors in the CI pipeline.

## Configure the databases

The databases are expected to have the latest migrations applied to them.
The databases are expected to have the latest migrations applied.

## Configure the tests

Expand Down

0 comments on commit 6c4c99e

Please sign in to comment.