Jonathan
Jonathan

Reputation: 32888

Executing WatiN integration tests for a .NET web application

Say I wanted to have a test-server which automatically picks up the latest build (from the build server) and executes all the integration tests in that build.

In order to execute those tests, a web-server is needed, since the tests will use WatiN to browse to my website and make assertions against it.

What are some ways to automatically set up this server?

A few I already investigated were:

Any other ideas?

Upvotes: 0

Views: 398

Answers (1)

Snahider
Snahider

Reputation: 188

I use WebDeploy and MSBuild to publish the application to test-server. I deploy my application to a real IIS using WebDeploy. WebDeploy is easy to configure and use inside a script.

This is a small workflow:

  • Run unit tests and another tasks.
  • Create a Deployment Package using WebDeploy. (you can use this same package to deploy to production manually)
  • Deploy the package to test-server using WebDeploy.
  • Run Watin tests in the test-server.

Upvotes: 2

Related Questions