64 Commits

Author SHA1 Message Date
Thibault Jouan
42751993a2 Test manager client unmanagement with cucumber 2015-04-21 02:22:21 +00:00
Thibault Jouan
a6edac962b Add layout client unmanagement feature 2015-04-20 10:24:39 +00:00
Thibault Jouan
7c440e28d2 Fix manager/manage feature 2015-04-20 05:49:33 +00:00
Thibault Jouan
bdbeca399a Ensure only one client is managed for given window 2015-04-20 04:11:41 +00:00
Thibault Jouan
036ca1f989 Log X errors 2015-04-20 04:08:55 +00:00
Thibault Jouan
c51d1525ee Delegates `layout_*' messages as Layout#handle_* 2015-04-19 02:13:26 +00:00
Thibault Jouan
5e18dbae95 Change default quit key binding to mod+shift+q 2015-04-19 01:28:03 +00:00
Thibault Jouan
6c7b01c9aa Accept modifier in `key' run control keyword 2015-04-19 01:12:35 +00:00
Thibault Jouan
26bac5aea9 Test that manager listen to appropriate events 2015-04-18 20:11:04 +00:00
Thibault Jouan
20cdec5fce Fix constant resolution in layout CLI option 2015-04-18 19:53:23 +00:00
Thibault Jouan
78dffde6c9 Remove a comment left in cucumber steps 2015-04-18 19:42:03 +00:00
Thibault Jouan
82a4161cc2 Improve UAT on layout
* Move cucumber features regarding the layout protocol in
  layout/protocol;
* Add new cucumber features to test uh-layout integration in uh-wm, at
  least simple mapping and focus behavior;
* Add new acceptance testing helpers
2015-04-18 19:33:47 +00:00
Thibault Jouan
5a102e7739 Improve CLI usage cucumber feature
Change a step definition to communicate intent more clearly.
2015-04-18 17:19:15 +00:00
Thibault Jouan
6ce237f8f3 Rename cucumber feature for CLI require option 2015-04-18 17:19:11 +00:00
Thibault Jouan
7d011dad60 Improve CLI usage output
* Move -h option at tail;
* Add separator between standard and tail options.
2015-04-18 17:08:18 +00:00
Thibault Jouan
0f2d658986 Rename CLI ruby feature require cucumber feature 2015-04-18 17:05:27 +00:00
Thibault Jouan
71caf160be Add version CLI option 2015-04-18 17:03:25 +00:00
Thibault Jouan
1cb7086713 Add cucumber scenario for layout CLI option 2015-04-18 03:26:24 +00:00
Thibault Jouan
1e2d423552 Fix verbose CLI option description 2015-04-18 03:15:08 +00:00
Thibault Jouan
5ab463cde5 Allow worker configuration with run control file 2015-04-18 02:03:37 +00:00
Thibault Jouan
9ea43ee69a Integrate blocking and multiplexing workers usage 2015-04-18 02:03:32 +00:00
Thibault Jouan
078254ae6d Simplify and refactor uhwm_wait_output helper 2015-04-16 18:02:13 +00:00
Thibault Jouan
e899240d70 Increase output check timeout to 8" under CI 2015-04-16 17:33:22 +00:00
Thibault Jouan
1e1645107c Implement `execute' action keyword 2015-04-16 17:12:00 +00:00
Thibault Jouan
1903ba166b Use uh to fake windows in cucumber test suite 2015-04-16 16:13:54 +00:00
Thibault Jouan
36e105bb42 Ensure test windows are closed after cucumber run 2015-04-16 12:26:29 +00:00
Thibault Jouan
c718ac4020 Manage clients with the Layout 2015-04-16 12:01:15 +00:00
Thibault Jouan
fe47e27d98 Prototype clients management with windows 2015-04-16 12:01:15 +00:00
Thibault Jouan
1575a2d369 Handle termination properly
* Tell the manager to close the display before terminating;
* Log about quit request and process termination.
2015-04-15 12:49:04 +00:00
Thibault Jouan
6ac26c370e Implement `modifier' run control keyword 2015-04-15 09:31:32 +00:00
Thibault Jouan
49f85bee35 Implement `quit' action keyword 2015-04-15 04:20:26 +00:00
Thibault Jouan
0a83563cad Improve error reporting on run control evaluation 2015-04-15 04:13:24 +00:00
Thibault Jouan
747573c52e Fix cucumber steps description (s/should/must/) 2015-04-15 03:28:16 +00:00
Thibault Jouan
773db4c8eb Reorganize cucumber features 2015-04-15 03:23:27 +00:00
Thibault Jouan
75cd101739 Refactor cucumber scenarios 2015-04-15 01:17:35 +00:00
Thibault Jouan
9c9aa1dabb Configure upcased key as combination with shift mod 2015-04-15 01:09:18 +00:00
Thibault Jouan
56197c85f8 Translate common key names in `key' RC keyword 2015-04-14 22:14:10 +00:00
Thibault Jouan
08fe5a6994 Implement `key' run control keyword 2015-04-14 21:42:47 +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
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
d1cc294b67 Fix coding standards (unused vars in cucumber env) 2015-04-14 01:41:39 +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
de3fca228e Register a Layout with display information 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
791c159d7a Implement ruby feature loading (-r CLI option) 2015-04-10 07:14:41 +00:00