Sherlock Holmes
Member
- Joined
- Apr 10, 2021
- Messages
- 5
- Programming Experience
- 10+
Hi,
I want add some more tests to a console app that updates a database by consuming a CSV file.
This is a critically important app that currently has no unit tests that verify we update the DB as expected.
I want to add this, I believe I can add a project to the solution that sets up and tears down a temporary DB that allows the unit tests to run with a "real" DB.
In my case this is just a single table and rows are expected to get added from the CSV for records that meet certain criteria.
I've struggled to find a suitable article that can walk me thru this, it's not clear to me what to even search for.
Any help appreciaited
I want add some more tests to a console app that updates a database by consuming a CSV file.
This is a critically important app that currently has no unit tests that verify we update the DB as expected.
I want to add this, I believe I can add a project to the solution that sets up and tears down a temporary DB that allows the unit tests to run with a "real" DB.
In my case this is just a single table and rows are expected to get added from the CSV for records that meet certain criteria.
I've struggled to find a suitable article that can walk me thru this, it's not clear to me what to even search for.
Any help appreciaited