Test blocking worker (UAT)

This commit is contained in:
Thibault Jouan
2015-04-23 19:59:25 +00:00
parent eaa1d279dc
commit 6cfed91653
4 changed files with 39 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
Feature: blocking worker
Scenario: processes initial events
Given uhwm is running with options -d -w block
Then the output must match /xevent/i at least 2 times
Scenario: processes generated events
Given a run control file with:
"""
key(:f) { puts 'testing_worker_read' }
"""
And uhwm is running with options -d -w block
When I press the alt+f key 3 times
And I quit uhwm
Then the output must match /(testing_worker_read)/ exactly 3 times