123 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
2f34414bf8 Fix aruba 0.6.2 API usage
Use `check_file_content` instead of `check_exact_file_content` which
has been deprecated.
2015-02-03 04:02:10 +00:00
Thibault Jouan
cacfa7e342 Move registry cucumber feature in recipe directory 2014-11-18 17:40:42 +00:00
Thibault Jouan
3b413a242f Implement `set?' task keyword:
When called from a task, will return true when given key exists and
false when key does not exist.
2014-11-18 16:48:11 +00:00
Thibault Jouan
1465b98f18 Accept a default value for `get' registry keyword 2014-11-18 15:56:25 +00:00
Thibault Jouan
2d3975d47f Unflatten features directory tree 2014-11-18 11:58:23 +00:00
Thibault Jouan
e22d0039e1 Implement CLI debug option 2014-10-12 23:45:01 +00:00
Thibault Jouan
25d03d4322 Improve CLI error reporting 2014-10-12 18:11:37 +00:00
Thibault Jouan
f6237bfc0c Implement `yaml_eq' condition keyword 2014-10-11 13:46:18 +00:00
Thibault Jouan
0ba12bfb90 Implement `yaml_write' action 2014-10-11 00:47:16 +00:00
Thibault Jouan
9780cdf220 Support YAML templates 2014-10-10 23:58:20 +00:00
Thibault Jouan
82879b56b4 Extract Task#template code in Template class 2014-10-10 16:36:06 +00:00
Thibault Jouan
c4006416e4 Support `file_write' status attributes 2014-10-08 22:36:32 +00:00
Thibault Jouan
a84b34b7ca Support `mkdir' status attributes 2014-10-08 22:36:27 +00:00
Thibault Jouan
9bc5c2aeec Implement `composed_macro' recipe keyword 2014-10-02 03:20:12 +00:00
Thibault Jouan
6cd294a0b8 Implement `template' task keyword 2014-09-28 14:33:35 +00:00
Thibault Jouan
2543fdeb00 Implement `file_match' condition keyword 2014-09-27 12:14:16 +00:00
Thibault Jouan
7a7c8379ff Improve CLI usage:
* Rewrite arguments parsing with OptionParser;
* Allow processing of multiple recipes.
2014-09-26 19:06:10 +00:00
Thibault Jouan
85ee79ab88 Indent logging output on nested tasks 2014-09-26 10:26:00 +00:00
Thibault Jouan
2d4e04b2e5 Fail when accessing registry with invalid key 2014-09-26 00:24:19 +00:00
Thibault Jouan
bd66ec25e4 Allow `mkdir' action to work recursively 2014-09-25 21:28:12 +00:00
Thibault Jouan
b11d0b6950 Allow `target' recipe keyword to return target 2014-09-25 14:57:27 +00:00
Thibault Jouan
42e29cc1fe Implement `target' condition keyword 2014-09-25 01:34:44 +00:00
Thibault Jouan
a7b2c4abea Implement `target' recipe keyword 2014-09-25 01:24:25 +00:00
Thibault Jouan
3dc414f188 Declare macro in tasks 2014-09-25 00:27:46 +00:00
Thibault Jouan
77582ef843 Allow access to registry from conditions 2014-09-25 00:01:03 +00:00
Thibault Jouan
638f8320bc Implement nested tasks 2014-09-24 22:26:29 +00:00
Thibault Jouan
52ecf4899b Implement Recipe{.,#}compose_macro 2014-09-22 22:04:46 +00:00
Thibault Jouan
675871c3f5 Improve cucumber feature for negated test prefix 2014-09-22 20:20:37 +00:00
Thibault Jouan
2c335b2437 Merge Task::DSL into Task 2014-09-22 19:43:36 +00:00
Thibault Jouan
4a83e8c71a Implement `file_eq' condition keyword 2014-09-22 08:25:50 +00:00
Thibault Jouan
563bf9cccf Implement action arguments logging 2014-09-17 00:24:31 +00:00
Thibault Jouan
db91eb06cd Forward standard error stream from remote execution 2014-07-24 17:38:13 +00:00
Thibault Jouan
a033e19583 Refactor features 2014-07-18 12:23:17 +00:00
Thibault Jouan
1188b2008f Print a warning when in dry run mode 2014-07-01 18:15:55 +00:00
Thibault Jouan
44a5b20e14 Improve verbose output 2014-07-01 17:32:13 +00:00
Thibault Jouan
519178cb41 Fix wording in features 2014-07-01 17:15:53 +00:00
Thibault Jouan
0abb5f7ecd Fix CLI usage 2014-06-27 17:40:14 +00:00
Thibault Jouan
e6ee3d5f77 Implement `-t' CLI option switch to specify target 2014-06-27 17:32:42 +00:00
Thibault Jouan
adca6dd9b2 Fix cucumber-sshd fast mode usage 2014-06-05 15:24:24 +00:00
Thibault Jouan
3c46c5bc61 Implement `test_macro' recipe keyword 2014-06-03 16:27:59 +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
17ad00a81a Refactor registry feature 2014-05-30 19:16:51 +00:00
Thibault Jouan
2fecb4bde4 Refactor and fix features 2014-05-30 19:16:51 +00:00
Thibault Jouan
237e6db740 Remove features checking ruby evaluation 2014-05-30 19:16:51 +00:00
Thibault Jouan
bff6b85e8e Flatten features directory tree 2014-05-30 19:16:39 +00:00
Thibault Jouan
0db2d90b72 Show command when remote execution fail 2014-05-25 15:51:33 +00:00
Thibault Jouan
87a3ead082 Implement dry run mode 2014-05-25 13:38:47 +00:00