Skip to content

Commit 64bd315

Browse files
Added data.recipeId to EiffelTestCaseStartedEvent (#124)
Added data.recipeId to EiffelTestCaseStartedEvent (as per issue #122).
1 parent b0ff561 commit 64bd315

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

eiffel-vocabulary/EiffelTestCaseStartedEvent.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ __Type:__ String
2727
__Required:__ No
2828
__Description:__ The name of the test case executor, if applicable. This property can be used to identify tests executed by a particular test framework.
2929

30+
### data.recipeId
31+
__Type:__ String
32+
__Required:__ No
33+
__Description:__ If this test case execution was the result of an Execution Recipe, as defined by an [EiffelTestExecutionRecipeCollectionCreatedEvent](./EiffelTestExecutionRecipeCollectionCreatedEvent.md), this UUID SHALL match the relevant __data.batches.recipes.id__ in that event.
34+
3035
### data.parameters
3136
__Type:__ Object[]
3237
__Required:__ No

examples/events/EiffelTestCaseStartedEvent/simple.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"uri": "http://tm.company.com/browse/TC-1234"
1313
},
1414
"executor": "My Test Framework",
15+
"recipeId": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee0",
1516
"parameters": [
1617
{
1718
"name": "login",

schemas/EiffelTestCaseStartedEvent/1.0.0.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@
9797
"executor": {
9898
"type": "string"
9999
},
100+
"recipeId": {
101+
"type": "string",
102+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
103+
},
100104
"parameters": {
101105
"type": "array",
102106
"items": {

0 commit comments

Comments
 (0)