<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 July 2014 15:23, John Cinnamond <span dir="ltr"><<a href="mailto:jc@panagile.com" target="_blank">jc@panagile.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Lruggers<div><br></div><div>Does anyone know of a gem to manage starting/stopping/interacting with processes from cucumber? I want to write features along the lines of:</div>
<div><br></div><div> Given some_process is running</div>
<div> And my fake_third_party_service is running</div><div> And some_other_process is stopped</div><div> When I make a request</div><div> And I start some_other_process</div><div> Then I see a message on the fake third party server</div>
<div> And the output from some_other_process is "OK"</div><div><br></div><div>Where the gem can starts & stops processes and redirect stdio.</div><div><br></div><div>I have written something similar on a project to do full end-to-end testing of a RESTful API service. Before I tidy it up and gem-ify it I want to make sure that there isn't something similar out there that I could use/contribute to. I tried searching for gems with 'cucumber' in the name and looking on The Ruby Toolbox but couldn't find anything, although I could have missed it.</div>
<div><br></div><div>Thanks,</div><div>John</div></div>
<br></blockquote><div><br></div><div>If you look at the gemspec for aruba you will see it uses the child process gem to do stuff which is similar to what you are doing.<br><br></div><div>All best<br><br>Andrew<br> <br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>------------------------</div>Andrew Premdas<div><a href="http://blog.andrew.premdas.org" target="_blank">blog.andrew.premdas.org</a></div>
</div></div>