Run integration tests with TFS2010. Part 1.

Октябрь 21, 2011

Last week I was working on automation of regression tests for our product. We have some NUnit tests that were run manually by nunit console on the virtual machine with our product installed. The goal was to automate this process and store results somewhere. We use TFS 2010 and did not want to bring another third party tool for continuous integration process on the other hand we wanted to use the existing tests and bring minimum change to them.

  1. We decided to create a new build definition that will run tests remotely and publish test results to the TFS.
  2. To run tests remotely we decided to use Powershell with invoke-command -computername to run powershell script which can call NUnit.
  3. To be able to publish NUnit’s test results, an xslt tranformation is needed which can be taken from nunit4teambuild.codeplex.com

I will write separate posts for each of this steps in a short time as there were some challenges on each step.

tags: , , ,
posted in Testing by dmitko

1 Comment to "Run integration tests with TFS2010. Part 1."

  1. robert wrote:

    Спасибо за статью, всегда рад почитать вас!

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org