FINERACT-1508: Add Cucumber test suppport
This commit is contained in:
committed by
Arnold Gálovics
parent
56824802b3
commit
5232656a6e
@@ -0,0 +1,20 @@
|
||||
Feature: Commands Service
|
||||
|
||||
@template
|
||||
Scenario Outline: Verify that command providers are injected
|
||||
Given A command handler for entity <entity> and action <action>
|
||||
When The user processes the command with ID <id>
|
||||
Then The command ID matches <id>
|
||||
|
||||
Examples:
|
||||
| id | entity | action |
|
||||
| 815 | HUMAN | UPDATE |
|
||||
|
||||
@template
|
||||
Scenario Outline: Verify that command no command handler is provided
|
||||
Given A missing command handler for entity <entity> and action <action>
|
||||
Then The system should throw an exception
|
||||
|
||||
Examples:
|
||||
| entity | action |
|
||||
| WHATEVER | DOSOMETHING |
|
||||
Reference in New Issue
Block a user