97 Commits

Author SHA1 Message Date
Thibault Jouan
2a1a1f1185 Register key bindings in the env with RunControl 2015-04-14 21:42:47 +00:00
Thibault Jouan
b1aa430ef3 Add a new class for run control file evaluation 2015-04-14 21:42:47 +00:00
Thibault Jouan
66c1b78740 Fix a description in Manager#handle specs 2015-04-14 21:42:33 +00:00
Thibault Jouan
193180fe6d Add a cucumber step to handle run control file 2015-04-14 03:23:12 +00:00
Thibault Jouan
e81cf3a52f Clean up tests
* Remove deprecated tags;
* Improve scenarios, steps and specs descriptions.
2015-04-14 02:59:48 +00:00
Thibault Jouan
bceeae01ac Update documentation 2015-04-14 02:35:40 +00:00
Thibault Jouan
4049bf255d Merge branch 'runcontrol-file' 2015-04-14 02:32:35 +00:00
Thibault Jouan
62c824cd7d Specify alternate run control file path from CLI 2015-04-14 02:28:37 +00:00
Thibault Jouan
7493ab3284 Evaluate run control file when present 2015-04-14 02:28:33 +00:00
Thibault Jouan
8165a1d4f5 Mock home directory in all cucumber scenarios 2015-04-14 02:27:36 +00:00
Thibault Jouan
d6ae5d9446 Add rspec helpers for filesystem 2015-04-14 02:07:57 +00:00
Thibault Jouan
e9de59b37b Manage run control file path in Env 2015-04-14 02:03:59 +00:00
Thibault Jouan
6cafd2ea37 Remove Runner.run factory specs 2015-04-14 02:02:43 +00:00
Thibault Jouan
d1cc294b67 Fix coding standards (unused vars in cucumber env) 2015-04-14 01:41:39 +00:00
Thibault Jouan
5e80648525 Fix error message in uhwm_wait_output UAT helper 2015-04-14 01:41:05 +00:00
Thibault Jouan
8a97f3c8b8 Move OtherWMRunningError message in the class 2015-04-13 21:39:01 +00:00
Thibault Jouan
53d83d5f08 Extract user acceptance test helpers in a module 2015-04-13 01:56:08 +00:00
Thibault Jouan
10591d0646 Fail when another window manager is already running 2015-04-13 01:29:35 +00:00
Thibault Jouan
c3e1f9639a Handle and format Uh::WM::RuntimeError in CLI.run 2015-04-13 01:29:04 +00:00
Thibault Jouan
34d84ad111 Configure rspec to run :xvfb examples with Xvfb 2015-04-13 01:29:04 +00:00
Thibault Jouan
6ce8edda99 Update documentation 2015-04-12 21:14:14 +00:00
Thibault Jouan
07f820d1b1 Allow travis CI failure with ruby head 2015-04-12 21:08:53 +00:00
Thibault Jouan
6b72da74a1 Merge branch 'layout-registration' 2015-04-12 21:04:34 +00:00
Thibault Jouan
de3fca228e Register a Layout with display information 2015-04-12 21:04:29 +00:00
Thibault Jouan
b9b2bff853 Use Layout from uh-layout as default 2015-04-12 21:04:29 +00:00
Thibault Jouan
616b14eae2 Register layout event hooks 2015-04-12 21:04:29 +00:00
Thibault Jouan
a848e6b936 Instantiate and assign a Layout in the Runner 2015-04-12 21:04:29 +00:00
Thibault Jouan
b65e989c38 Accept -l LAYOUT CLI option to set the layout 2015-04-12 21:04:29 +00:00
Thibault Jouan
0ce73c2e2f Improve error reporting in cucumber helpers
Indent stdout and stderr in the error generated by uhwm_wait_output
helper.
2015-04-12 21:01:54 +00:00
Thibault Jouan
c9e6d1807b Fix X display handling in rspec test suite
* Hide any available X display from test suite context;
* Ensure the manager never connect or block.
2015-04-10 10:16:30 +00:00
Thibault Jouan
59e9562279 Rename :display, :* events as :* 2015-04-10 07:53:45 +00:00
Thibault Jouan
325801a037 Fix Runner specs on manager event hooks 2015-04-10 07:15:08 +00:00
Thibault Jouan
f9fe27d36b Remove unneeded contexts in runner specs 2015-04-10 07:15:08 +00:00
Thibault Jouan
791c159d7a Implement ruby feature loading (-r CLI option) 2015-04-10 07:14:41 +00:00
Thibault Jouan
1467425407 Improve cucumber output steps 2015-04-10 07:14:41 +00:00
Thibault Jouan
d965fb2afd Handle Manager logging with events Dispatcher 2015-04-09 23:31:56 +00:00
Thibault Jouan
7b9854b499 Support event hook arguments in Dispatcher 2015-04-09 23:31:13 +00:00
Thibault Jouan
520a0c87c9 Implement Env#log_debug 2015-04-09 23:11:52 +00:00
Thibault Jouan
7636e646f2 Fix coding standards (indent align in Env) 2015-04-09 23:11:24 +00:00
Thibault Jouan
6f38ad2990 Merge branch 'debug-option' 2015-04-09 22:22:47 +00:00
Thibault Jouan
464b75841b Implement debug mode 2015-04-09 22:22:41 +00:00
Thibault Jouan
69d885b282 Support -d debug option in CLI 2015-04-09 22:22:41 +00:00
Thibault Jouan
7b11dd7b08 Add debug mode in Env 2015-04-09 22:22:41 +00:00
Thibault Jouan
f66d8d24ee Improve reporting in #uhwm_wait_output cucumber helper 2015-04-09 22:22:27 +00:00
Thibault Jouan
1079609cfc Merge branch 'verbose-option' 2015-04-09 21:44:09 +00:00
Thibault Jouan
254efe4f74 Implement verbose mode 2015-04-09 21:43:57 +00:00
Thibault Jouan
404b34acc0 Implement Env#log_logger_level 2015-04-09 21:43:57 +00:00
Thibault Jouan
0d0eac111c Implement verbose status in Env 2015-04-09 21:43:57 +00:00
Thibault Jouan
6de680c443 Ensure uhwm is killed after each cucumber scenario 2015-04-09 21:43:47 +00:00
Thibault Jouan
98bfa6c218 Fix coding standards 2015-04-09 03:51:38 +00:00