Skip to content
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
mbt1 authored Sep 13, 2021
commit 05b9b4de47e2a87da3be69d3ef6e924e80fb9095
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# tSQLt-visual-studio-examples
Example Visual Studio solutions and database projects for using tSQLt

#Instructions
# Instructions
The simplest way to use tSQLt in a VS Database Project is to get a tSQLt DacPac and include it as a database reference in your project.

The general project structure we recommend consists of one or more "code" projects and an equal number of "test" projects in your solution. Each test project needs to have a database reference to its code project (and other code prjects as needed).

|Example Project Structure|
|-|
|![Example Project Structure](https://user-images.githubusercontent.com/298017/133068000-2d562db1-0a1f-495f-9581-31e557e37f47.png)|
||

It is also recommended to change the "debug" database to a (developer-edition) SQL Server instance instead of the default localdb included with VS.

Finally, we recommend to set "always re-create database" to true, as it generally increases deployment speed. (Do not do this on shared development instances! But then, we recommend you do not use them in general.)
Expand Down