I have scrounged up a personal test machine at my office, so that I can run large scale tests of my code independent of the official QA/build servers that also will not impact my work on my dev machine. For doing the tests, I have a set of script files that fire off all the tests as requested and collect the results and present them back a few hours later. What I would like to do with this is have all the needed test architecture on my new test machine, and have a way to initiate the tests remotely from my dev box. Seems simple enough, but I know very little about networking stuff or remote procedure calls or the like (as you can probably tell, I barely even know the correct words for it).
My initial idea that I whipped up is I have a python script running on the test machine that every X minutes checks a given file to see if it contains a simple string, "go." If it contains this (and nothing else) the script kicks off my automated test scripts. If the file is empty, or doesn't contain "go," the script goes back to sleep for X more minutes and tries again. Right now, to kick things off, I have the key file in a mapped Windows folder on my dev machine along with a batch file that simply echos "go" into it and nothing else. This lets me start a run with no issue and I simply check back in a few hours to see if everything ran smoothly.
Now, this works, but I was wondering if there was a more professional way to do this? Someway in which I could programmatically interact with the python script on the other side, turn it into a simple server, use RPC calls, etc... Now, I have no requirements or anything for this as it is just personal curiosity about learning more how such things are done so I figured I'd ask for advice here. Thanks for any pointers people can offer!
My initial idea that I whipped up is I have a python script running on the test machine that every X minutes checks a given file to see if it contains a simple string, "go." If it contains this (and nothing else) the script kicks off my automated test scripts. If the file is empty, or doesn't contain "go," the script goes back to sleep for X more minutes and tries again. Right now, to kick things off, I have the key file in a mapped Windows folder on my dev machine along with a batch file that simply echos "go" into it and nothing else. This lets me start a run with no issue and I simply check back in a few hours to see if everything ran smoothly.
Now, this works, but I was wondering if there was a more professional way to do this? Someway in which I could programmatically interact with the python script on the other side, turn it into a simple server, use RPC calls, etc... Now, I have no requirements or anything for this as it is just personal curiosity about learning more how such things are done so I figured I'd ask for advice here. Thanks for any pointers people can offer!