100 Commits

Author SHA1 Message Date
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
Thibault Jouan
1467425407 Improve cucumber output steps 2015-04-10 07:14:41 +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
f66d8d24ee Improve reporting in #uhwm_wait_output cucumber helper 2015-04-09 22:22:27 +00:00
Thibault Jouan
254efe4f74 Implement verbose mode 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
309347a8ec Hide linux netstat stderr output on travis CI 2015-04-09 03:23:12 +00:00
Thibault Jouan
366028fa01 Allow X related tests to work on travis CI 2015-04-09 03:23:12 +00:00
Thibault Jouan
ceac19b346 Quit on `mod1+q' key binding
* Loop our runner until it is "stopped";
* Use the event dispatcher to stop the runner on `mod1+q' key press;
* Tell the manager to grab the `q' key.
2015-04-09 00:30:13 +00:00
Thibault Jouan
01d7805760 Add uhwm_wait_output cucumber helper 2015-04-08 16:46:58 +00:00
Thibault Jouan
422a940eae Implement basic CLI usage help 2015-04-07 21:56:49 +00:00
Thibault Jouan
8f9b767ce1 Connect to X server 2015-04-07 10:35:52 +00:00
Thibault Jouan
75cf74c217 Setup headless gem (Xvfb testing) for tests 2015-04-06 20:21:59 +00:00
Thibault Jouan
f2bb9b7f50 Setup cucumber test env with aruba 2015-04-06 19:02:17 +00:00