Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You will need a separate test database purely for integration tests. You will need to reset the state of the DB every time using something like https://github.com/jbogard/Respawn. I always use the (localdb)\mssqllocal SQL instance that comes as standard with VS for dev and integration test databases.
I'm a big fan of Jimmy Bogard's way of doing things and pretty much, I just copy him (except for Automapper, not a fan). He has ContosoUniversity the way he would write it on his github pages. This includes an IntegrationTest project which is an excellent reference.