Publish or Deploye Tests

Ask general questions here.
Posts: 1
Joined: Thu Aug 25, 2011 2:56 pm

Publish or Deploye Tests

Post by emilewitten » Thu Aug 25, 2011 2:58 pm

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

User avatar
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Publish or Deploye Tests

Post by Ciege » Thu Aug 25, 2011 3:44 pm

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.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!