Implement `key' run control keyword
This commit is contained in:
parent
2a1a1f1185
commit
08fe5a6994
10
features/run_control/key.feature
Normal file
10
features/run_control/key.feature
Normal file
@ -0,0 +1,10 @@
|
||||
Feature: `key' run control keyword
|
||||
|
||||
Scenario: defines code to run when given key is pressed
|
||||
Given a run control file with:
|
||||
"""
|
||||
key(:f) { puts 'trigger f key code' }
|
||||
"""
|
||||
And uhwm is running
|
||||
When I press the alt+f keys
|
||||
Then the output must contain "trigger f key code"
|
Loading…
x
Reference in New Issue
Block a user