Page 1 of 1

Publish or Deploye Tests

Posted: Thu Aug 25, 2011 2:58 pm
by emilewitten
Hi there,

My apologies if this is a simple question or answered elsewhere.. but..

Is there no way to publish or deploy your test scripts automatically to another folder/machine?

Kindest Regards,
Emile Witten

Re: Publish or Deploye Tests

Posted: Thu Aug 25, 2011 3:44 pm
by Ciege
Are you speaking of compiled tests (the EXE) or the test code?
You can share the test code among other users through a source control system or even a shared folder.
As for the compiled tests, you need to copy the compiled test folder that contains the EXE and the referenced DLLs to the remote machine. These can be pushed or pulled with a little bit of code. For our use in house I wrote a launcher utility that will connect to the "main" development machine, compile the code via command line (we need to compile two pieces here. 1) our framework DLL and 2) the test that was requested), then finally copy the built folder locally. All of this is accomplished on the remote machine using PSEXEC and a little bit of logic code. So, anyone can run the test launcher, select the test(s) to be launched and the tool does all the rest.