FINERACT-1508: Add Cucumber test suppport

This commit is contained in:
Aleksandar Vidakovic
2022-03-18 09:23:15 +01:00
committed by Arnold Gálovics
parent 56824802b3
commit 5232656a6e
82 changed files with 1238 additions and 2978 deletions
@@ -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 |