K
Kiran
Hi,
I am looking for a way to setup my databases for my unit test case to run.
basically my class needs some test environment to me available before I can
test it, and if I have to write code to create that test environment....
then its will be a big task by itself.
Instead one possible solution I can think of is to use UI and set up the
test environment and back up the database either as MS Access database or
text(CVS) files and before starting my test case import this in the
testsetup operation.
Dose any one here has a Idea how this can be achieved using C# and MS SQL.
i.e. how I can import the data programmatically.
Or is there a better way to handle my situation?
Regards
Kiran
I am looking for a way to setup my databases for my unit test case to run.
basically my class needs some test environment to me available before I can
test it, and if I have to write code to create that test environment....
then its will be a big task by itself.
Instead one possible solution I can think of is to use UI and set up the
test environment and back up the database either as MS Access database or
text(CVS) files and before starting my test case import this in the
testsetup operation.
Dose any one here has a Idea how this can be achieved using C# and MS SQL.
i.e. how I can import the data programmatically.
Or is there a better way to handle my situation?
Regards
Kiran