Generic-user-small prashant 1 post

Hi all,

I have written Nunit test case using C#. I am using same database located in different server for example server1 and server2.

My config file is

<configuration> <appsettings> <add value="server1" key="x" /> </appsettings>

</configuration>

when i execute the test case then it will execute with server1

Now the question is:
I want to execute the same test case with server2

How can i pass connection string of server2 to test case dynamically or run time

please help me

Reagrds
Prashant

 
Generic-user-small Boo 2 posts

I guess the bigger question is what are you testing?

2 posts, 2 voices