Commit Graph

333 Commits

Author SHA1 Message Date
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 a866d2a42f Update TestEnvHelpers for rspec 2.99.x 2014-07-01 16:59:49 +00:00
Thibault Jouan 0abb5f7ecd Fix CLI usage 2014-06-27 17:40:14 +00:00
Thibault Jouan a778322aa1 Bump version to 0.2.7 2014-06-27 17:35:29 +00:00
Thibault Jouan e6ee3d5f77 Implement `-t' CLI option switch to specify target 2014-06-27 17:32:42 +00:00
Thibault Jouan e423a66d5c Fix coding standards in spec 2014-06-27 17:32:03 +00:00
Thibault Jouan adca6dd9b2 Fix cucumber-sshd fast mode usage 2014-06-05 15:24:24 +00:00
Thibault Jouan 9eed0a8ef8 Replace all raise ruby keyword with fail 2014-06-05 12:37:42 +00:00
Thibault Jouan 6a396ae8c0 Bump version to 0.2.6 2014-06-03 16:28:37 +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 2ee3b5dbaf Improve CLI spec examples sort order 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 d4d1657a4a Simplify CLI 2014-05-26 00:46:39 +00:00
Thibault Jouan 39427c35c3 Refactor and simplify CLI and Env:
* Do not modify Env logger from CLI;
* Add verbose attribute to Env;
* Implement Env#verbose?;
* Remove Env#log_level and Env#log_level=;
* Refactor related specs, improve some wording.
2014-05-25 17:44:24 +00:00
Thibault Jouan 0db2d90b72 Show command when remote execution fail 2014-05-25 15:51:33 +00:00
Thibault Jouan 8168e68a2d Freeze contants 2014-05-25 14:20:54 +00:00
Thibault Jouan 7ecd22c63b Dump patch version 2014-05-25 13:47:31 +00:00
Thibault Jouan f6c261f2a4 Bump patch version 2014-05-25 13:47:06 +00:00
Thibault Jouan 778816dd68 Merge branch 'cli-options'
Implement first CLI options switches and related features:

  * -v enable verbose mode
  * -n enable dry run mode
2014-05-25 13:40:27 +00:00
Thibault Jouan 87a3ead082 Implement dry run mode 2014-05-25 13:38:47 +00:00
Thibault Jouan 332bb1a416 Improve verbose mode output formatting 2014-05-25 12:14:25 +00:00
Thibault Jouan 8291f1bcfd Implement verbose mode 2014-05-25 12:14:22 +00:00
Thibault Jouan 2b86bbf112 Implement Task#to_s 2014-05-25 12:12:09 +00:00
Thibault Jouan 7cffa34442 Attach our env to the worker from the CLI 2014-05-25 12:12:09 +00:00
Thibault Jouan 024ab7eba0 Integrate a logger attached to our env 2014-05-25 12:12:09 +00:00
Thibault Jouan 4e6e92bf36 Bump patch version 2014-04-25 00:33:27 +00:00
Thibault Jouan 94f6bbb4aa Accept mode as argument in `mkdir' action 2014-04-25 00:33:27 +00:00
Thibault Jouan 5cb6296057 Accept mode as argument in `file_write' action 2014-04-25 00:33:24 +00:00
Thibault Jouan 47412d8bce Bump patch version 2014-04-24 21:42:14 +00:00
Thibault Jouan 0485105e28 Support (key, value) form in env? condition keyword 2014-04-24 21:41:30 +00:00
Thibault Jouan 44343d121b Fix cucumber support file naming 2014-04-24 20:24:44 +00:00
Thibault Jouan 5623d19c51 Merge branch 'spec-cleanup'
Fix and improve some Test::* specs.
2014-04-24 18:42:48 +00:00
Thibault Jouan 25b1394178 Improve HasEnv specs:
* Use a more classic style, and rely on a simple Hash instead of
  stubbing a double;
* Improve examples to show the intent more clearly (like the use of a
  symbol when querying).
2014-04-24 18:38:58 +00:00
Thibault Jouan fc5d35ceb5 Fix subject name in HasExecutable specs 2014-04-24 15:52:25 +00:00
Thibault Jouan 601e330c04 Merge branch 'features-clean-up'
Clean up our cucumber features, remove usage of an ugly monkey patch,
expose with a tag the usage of a fake home directory in a scenario.
2014-04-23 22:45:52 +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 974e0aca73 Bump patch version 2014-04-23 20:41:05 +00:00
Thibault Jouan 3610427c74 Improve `file_append' when file doesn't exist 2014-04-23 20:39:19 +00:00
Thibault Jouan b995ef2680 Rename all `has_*' test keywords 2014-04-23 20:22:22 +00:00
Thibault Jouan 66e3dfd186 Bump minor version 2014-04-23 20:22:21 +00:00
Thibault Jouan 2d360d97dd Extract @sshd cucumber hooks as cucumber-sshd gem 2014-04-01 02:51:27 +00:00
Thibault Jouan fdbe19617f Improve Guardfile:
* Prevent cucumber run on start;
* Force rspec to be executed by bundler.
2014-03-31 23:32:26 +00:00
Thibault Jouan 4d7e11ceeb Patch net-ssh story helpers for 2.8.0 2014-03-31 23:31:54 +00:00