Revision: 2648 Author: janne.t.harkonen Date: Tue Mar 16 05:37:00 2010 Log: added runner for acceptance tests http://code.google.com/p/robotframework/source/detail?r=2648
Added: /trunk/proto/atdd_example/atest/run.py ======================================= --- /dev/null +++ /trunk/proto/atdd_example/atest/run.py Tue Mar 16 05:37:00 2010 @@ -0,0 +1,8 @@ +from os.path import dirname, join +import subprocess + +basedir = dirname(__file__)+cmd = ['pybot', '--outputdir', join(basedir, 'results'), join(basedir, 'vacalc')]
+pythonpath = '%s:%s' % (join(basedir, 'lib'), join(basedir, '..', 'src'))
+
+subprocess.call(' '.join(cmd), shell=True, env={'PYTHONPATH': pythonpath})
