-
Notifications
You must be signed in to change notification settings - Fork 17
Snippets CodeTemplates
QuBiT edited this page Sep 13, 2010
·
5 revisions
Since Version 1.3.2 it is possible to use Snippets / CodeTemplates.
| abbreviation | code |
|---|---|
| fb | |
| s | Scenario: |
| sb | |
| so | Scenario Outline: |
| sob |
|
| bg | Background: |
| g | Given |
| w | When |
| t | Then |
| a | And |
| b | But |
| e | Examples: |
| eb |
|
| table | ¦ input ¦ result ¦ |
| on | am on |
| gt | go to |
| p | press |
| f | follow "" |
| fw | follow "" within "" |
| fiw | fill in "" with "" |
| fif | fill in "" for "" |
| ftf | fill in the following: |
| sf | select "" from "" |
| sadt | select "" as the date and time |
| saxdt | select "" as the "" date and time |
| sat | select "" as the time |
| saxt | select "" as the "" time |
| sad | select "" as the date |
| saxd | select "" as the "" date |
| c | check |
| uc | uncheck |
| co | choose |
| attach | attach the file "" to "" |
| ss | should see "" |
| ssw | should see "" within "" |
| sns | should not see "" |
| snsw | should not see "" within "" |
| fsc | the "" field should contain "" |
| fsnc | the "" field should not contain "" |
| csc | the "" checkbox should be checked |
| csnc | the "" checkbox should not be checked |
| sbon | should be on |
| query | should have the following query string: |
| smtp | show me the page |
The Snippets are implemented as described on that page: Link
- Tools → Options → Editor → Code Templates
- Select “Feature File”
- Press Add / Remove
- …