[rspec-users] [Cucumber] Using Cucumber to test Erlang servers directly

wolfmanjm wolfmanjm at gmail.com
Sun May 3 04:16:55 EDT 2009

Thanks, this is a work in progress it should get more sophisticated as
I write more features.

BTW Aslak this is why I needed the scenario name in the After hook, I
get a lot of Erlang messages which get stored, and the Steps should
test for them and consume them off the queue, however as Erlang and
messages are totally asynchronous, I don't want to print them out when
they come in, or in the After hook, as that screws up the Scenario
Outline reports.

Hence they are stored and printed in the at_exit hook.

Using cucumber to debug asynchronous processes will probably introduce
a lot of interesting edge cases ;)


On May 2, 7:38 pm, aslak hellesoy <aslak.helle... at gmail.com> wrote:
> > I don't know if this will interest anyone, but I thought it was a
> > pretty cool use of Cucumber :)
> OMG sooo cool.
> Added here:http://wiki.github.com/aslakhellesoy/cucumber/tutorials-and-related-b...
> Aslak
> > I've posted a Blog article on how I use Cucumber to test an Erlang
> > Server directly by talking to my Erlang Nodes.
> >http://blog.wolfman.com/articles/2009/5/2/using-cucumber-to-test-erla...
> > It uses Cucumber running under JRuby which uses JInterface to talk to
> > the Erlang servers.
> > I hope someone else finds this a fascinating use of Cucumber ;)
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us... at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/rspec-users
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list