Commit Graph

16 Commits

Author SHA1 Message Date
Thibault Jouan
a9c8485d09 Update cucumber dependency
In the process, we remove our cucumber docstrings monkey patch. It
does not work anymore and it was not a so good idea.
2015-04-03 15:54:11 +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
55f18d30bf Increase default aruba timeout 2014-05-30 23:09:42 +00:00
Thibault Jouan
44343d121b Fix cucumber support file naming 2014-04-24 20:24:44 +00:00
Thibault Jouan
947df56d6b Expose fake home dir usage with a cucumber tag 2014-04-23 22:45:39 +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
c01e143c86 Enable sftp subsystem in cucumber sshd config 2013-09-26 00:28:39 +00:00
Thibault Jouan
7a1c01a299 Remove empty cucumber support file 2013-08-22 00:11:09 +00:00
Thibault Jouan
d7d7d42223 Implement @sshd cucumber tag hooks:
Fork an sshd server available for the duration of the scenario.

  $HOME will be set to aruba temporary directory, and a custom ssh
config will be written so that the test server is accessible with the
alias `some_host.test'. sshd will listen on port 2222 by default, this
can be overridden by setting DEFAULT_LISTEN_PORT environment variable to
the desired port.
2013-08-05 20:08:11 +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