there's definitely more than one way to do it. As far as I can remember the Hudson CI server has the ability to invoke CMD commands on a given machine. The Test Studio installation contains the ArtOfTest.Runner.exe. The runner is an application which will allow you to run tests from CMD. By default on Windows 7 64 bit the ArtOfTest.Runner.exe is here:
C:\Program Files (x86)\Telerik\Test Studio 2011.1\Bin\ArtOfTest.Runner.exe
For convenience you should add it as an Environmental variable as seen here:
Once you do that you'll be able to call the runner from CMD easily. Check out the different parameters that the runner can accept like list
. You can see all the parameters by typing ArtOfTest.Runner.exe /? in CMD.
Let's say you have a test called MyTest and its location is c:\
You can run that test from CMD with the following command:
You can create a batch file which invokes this command and you can have Hudson run this batch file once a build finishes.
This is once simple approach to integrating Test Studio tests with Hudson CI server.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>