Separate Database for Integration Testing

Posted by john doe on Stack Overflow See other posts from Stack Overflow or by john doe
Published on 2010-03-27T04:57:17Z Indexed on 2010/03/27 5:03 UTC
Read the original article Hit count: 398

I am performance integration testing where I fire up the ASPX pages using WatiN and fill the fields and insert into the database. There are couple of problems that I am facing.

1) Should I use a completely separate database for integration testing? I already gave db_test and db_dev. db_test is for unit testing and is cleared after each test. db_dev is for developers.

2) When I run WatiN test which are contained in a separate assembly (not separate from unit test assembly which should be better since WatiN test take so much time to run). So WatiN test fire up the WebApps project and uses their web.config which is pointing to the dev database. Is there anyway I can tell WatiN to use a separate web.config which contains a different database name?

© Stack Overflow or respective owner

Related posts about watin

Related posts about unit