12 Commits

Author SHA1 Message Date
Thibault Jouan
a3e75b0ac6 Refactor cucumber tags and steps
Use @mocked_home_directory provided by aruba and remove our custom
@fake_home tag.
2015-04-06 08:46:50 +00:00
Thibault Jouan
3d2b798aac Fix cucumber recipe steps 2015-04-05 08:07:47 +00:00
Thibault Jouan
5284f27340 Update cucumber recipe steps 2015-04-05 08:06:32 +00:00
Thibault Jouan
088a948763 Add new cucumber remote steps 2015-04-05 02:34:33 +00:00
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
db91eb06cd Forward standard error stream from remote execution 2014-07-24 17:38:13 +00:00
Thibault Jouan
9eed0a8ef8 Replace all raise ruby keyword with fail 2014-06-05 12:37:42 +00:00
Thibault Jouan
aa3694b58c Add support for `type' command in MockRemote 2014-03-05 07:18:50 +00:00
Thibault Jouan
bf25b05adb Remote extra record separator from `sh' task action 2014-03-05 06:45:56 +00:00
Thibault Jouan
db3644a3e6 Write output from `sh' task action directly:
* Accept output as argument in Remote#execute;
* Modify ShellCommand so that env output is directly handled.
2014-03-05 06:06:42 +00:00
Thibault Jouan
85e3bf2eac Implement Testing::MockRemote#execute 2014-03-04 05:54:19 +00:00
Thibault Jouan
b576604498 Implement basic Testing::MockRemote object 2014-03-04 05:54:19 +00:00