kmaclean
14 years agoOccasional Contributor
Starting Distributed Tests from Build Server
I have created a fairly basic login test and am trying to launch it via a post-build event from our Team City server. I've examined two fairly different paths, but both have me stymied at the same point - how to actually launch the tests.
On the one hand, I build a C# application to open and run the tests from TestExecute. This runs beautifully when initiated from the local server, but I can't seem to find a hook when to launch it remotely (I've been focusing on PowerShell as a launch tool).
As a second attempt, I set up Master & Slave Network Items on my tests, and watched with joy as it ran the tests in Distributed mode on my test VM. But it left me at the same point - I need a routine or method call that I can easily configure to launch my tests.
I assume there's something obvious I'm missing here, so if anyone has any ideas, I'd love to hear them (before I plunge into the land of WMI).
On the one hand, I build a C# application to open and run the tests from TestExecute. This runs beautifully when initiated from the local server, but I can't seem to find a hook when to launch it remotely (I've been focusing on PowerShell as a launch tool).
As a second attempt, I set up Master & Slave Network Items on my tests, and watched with joy as it ran the tests in Distributed mode on my test VM. But it left me at the same point - I need a routine or method call that I can easily configure to launch my tests.
I assume there's something obvious I'm missing here, so if anyone has any ideas, I'd love to hear them (before I plunge into the land of WMI).