cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to Integration Test domain classes that call stored procedures?

Hello dotnet,

Im looking to run integration tests on my domain/core classes(using Core 2.0).

These classes call stored procedures using SqlCommand from Data.SqlClient, passing the name of the stored procedure and the connection string, grabbing the data then parsing the dataset and returning an object.

I was wondering how I would go about integration testing it? should I use a test database separate from my localDB I've been using for testing? Are there any frameworks that make using a database for unit testing fairly easy?

Thanks in advance.

jerzyskol46
Member
0 REPLIES 0