[LRUG] Managing processes from cucumber

Andrew Premdas apremdas at gmail.com
Fri Jul 18 09:37:53 PDT 2014


On 18 July 2014 15:23, John Cinnamond <jc at panagile.com> wrote:

> Hello Lruggers
>
> Does anyone know of a gem to manage starting/stopping/interacting with
> processes from cucumber? I want to write features along the lines of:
>
>     Given some_process is running
>         And my fake_third_party_service is running
>         And some_other_process is stopped
>     When I make a request
>         And I start some_other_process
>     Then I see a message on the fake third party server
>         And the output from some_other_process is "OK"
>
> Where the gem can starts & stops processes and redirect stdio.
>
> 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.
>
> Thanks,
> John
>
>
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.

All best

Andrew


> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>


-- 
------------------------
Andrew Premdas
blog.andrew.premdas.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140718/c89747de/attachment-0003.html>


More information about the Chat mailing list