just wondering if i can call premade scripts from stepdefinitions and read the output and act on in in a cucumber stepdefinition script.
I realize this might not be the spitrit of cucumber since the test should be writen in ruby/cucumber but these are allready existing python that output the words PASSED or FAILED + stderr
Given /^I am testing a switch$/ do
end
When /^I run my python script$/ do
/home/robm/python/testSwitch.py 172.168.101.139 5 > /home/robm/python/172_168_101_138.txt
end
Then /^I should get back the word PASSED$/ do
read /home/robm/python/172_168_101_138.txt
end
any ideas or suggestions on how to procede