|
-
April 17th, 2009, 04:01 AM
#1
NUnit tests - need to run bat file in between
here's what i do every now and then
STEP 1. switch.to.oracle.bat
STEP 2. run unit test against Oracle db
[visual inspection on NUnit user interface after to make sure things are okay]
STEP 3. switch.to.mysql.bat
STEP 4. run unit test against MySQL
[visual inspection on NUnit user interface after to make sure things are okay]
STEP 5. switch.to.mssql.bat
STEP 6. run unit test against M$SQL
[visual inspection on NUnit user interface after to make sure things are okay]
question is, how can i automate this?
-
April 17th, 2009, 04:08 AM
#2
Re: NUnit tests - need to run bat file in between
What does the switch.to.*.bat do?
Can you change you connection string in the code and just run the NUnit test three times changing the connection setting each time?
-
April 17th, 2009, 04:39 AM
#3
Re: NUnit tests - need to run bat file in between
at present, it simply changes connection strings and provider in config files.
But I need to do this, then run a test and visually inspect NUnit for verification. Then repeat the procedure for each database vendor which seems time consuming.
It'd be nice if I can just have a report at the end of the day which tells me if app goes well with all...
perhaps .NET Cruise control+NAnt... not sure haven't done that before
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|