<div dir="ltr">Coincidentally, I've been pondering a similar question for an internal gem I've been working on this week.  (We want to spin up a fresh Kafka server so one botched test run doesn't leave state hanging around for subsequent runs.)  We're using Aruba, but I didn't notice childprocess when I was going through it.  Thanks, Andrew, for the pointer!  John, I'm glad you asked, too!  :)<div>
-Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 9:43 AM, 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">Thanks guys - I'll look at aruba and child process. I'm glad I asked now :-)</div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 5:37 PM, Andrew Premdas <span dir="ltr"><<a href="mailto:apremdas@gmail.com" target="_blank">apremdas@gmail.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"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>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></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><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" target="_blank">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></div><span><font color="#888888"><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>


</font></span></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<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></div>