12 Commits

Author SHA1 Message Date
Thibault Jouan
9a8ab69c8c Extract cucumber env and steps to ease code reuse
producer extensions like producer-rails must not reimplement all the
testing infrastructure, this extraction allows to setup everything with
just one require call in cucumber env:

    require 'producer/core/testing/cucumber'
2015-04-05 02:14:00 +00:00
Thibault Jouan
ed01bbed4e Merge cucumber env setup in a unique file 2015-04-03 16:12:47 +00:00
Thibault Jouan
5d9778f33f Fix coding standards 2015-03-05 07:24:10 +00:00
Thibault Jouan
adca6dd9b2 Fix cucumber-sshd fast mode usage 2014-06-05 15:24:24 +00:00
Thibault Jouan
18b835b10e Improve test suite performance with aruba wrapper:
* Implement ArubaProgramWrapper in cucumber env;
* Tag a few features to not use the wrapper as aruba doesn't support yet
  interactive testing with in process mode, and reported program name
  will not be the correct one;
* Assign required standard streams to CLI and Env classes.
2014-05-30 23:14:00 +00:00
Thibault Jouan
9323391161 Remove cucumber monkey patch translating steps:
It was initially added to allow reuse of aruba cucumber steps, using
`must' instead of `should'. This is creating more harm than good, hence
we remove it and implements all missing steps, using aruba API.
2014-04-23 22:44:27 +00:00
Thibault Jouan
2d360d97dd Extract @sshd cucumber hooks as cucumber-sshd gem 2014-04-01 02:51:27 +00:00
Thibault Jouan
7a1c01a299 Remove empty cucumber support file 2013-08-22 00:11:09 +00:00
Thibault Jouan
47560e55c5 Extract cucumber and aruba monkey patches 2013-08-05 14:15:23 +00:00
Thibault Jouan
929e82cd55 Add monkey patch to fix cucumber docstrings:
Cucumber chomp the last \n from multiline strings (docstrings), this
monkey patch modify Cucumber::Ast::DocString constructor to add the
missing ending new line character and
Cucumber::Formatter::Pretty#doc_string to remove it from the output.
2013-07-27 13:04:23 +00:00
Thibault Jouan
9a726dc389 Add monkey patch to hack aruba steps (must, should) 2013-07-27 13:04:23 +00:00
Thibault Jouan
b380e02e30 Add test dependencies 2013-07-27 13:04:16 +00:00