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.
โ02-02-2021 09:41 PM