diff --git a/eiffel-vocabulary/EiffelTestCaseStartedEvent.md b/eiffel-vocabulary/EiffelTestCaseStartedEvent.md index b219e67d..fdaeb747 100644 --- a/eiffel-vocabulary/EiffelTestCaseStartedEvent.md +++ b/eiffel-vocabulary/EiffelTestCaseStartedEvent.md @@ -17,10 +17,15 @@ __Type:__ String __Required:__ Yes __Description:__ The unique identity of the executed test case. +#### data.testCase.version +__Type:__ String +__Required:__ No +__Description:__ The unique version of the executed test case identity. Where this property is not used it is assumed that test cases are not version controlled. + #### data.testCase.uri __Type:__ String __Required:__ No -__Description:__ A location where a description of the test case can be retrieved. +__Description:__ A location where a description of the test case can be retrieved. To the extent that multiple versions of the same test case co-exist, this property SHALL identify the exact version executed. ### data.executor __Type:__ String diff --git a/examples/events/EiffelTestCaseStartedEvent/simple.json b/examples/events/EiffelTestCaseStartedEvent/simple.json index b8fc5782..7c3407b9 100644 --- a/examples/events/EiffelTestCaseStartedEvent/simple.json +++ b/examples/events/EiffelTestCaseStartedEvent/simple.json @@ -9,7 +9,8 @@ "testCase": { "tracker": "My Test Management System", "id": "TC-1234", - "uri": "http://tm.company.com/browse/TC-1234" + "version": "42", + "uri": "http://tm.company.com/browse/TC-1234/42" }, "executor": "My Test Framework", "recipeId": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee0", diff --git a/schemas/EiffelTestCaseStartedEvent/1.0.0.json b/schemas/EiffelTestCaseStartedEvent/1.0.0.json index e7af629c..f98b0377 100644 --- a/schemas/EiffelTestCaseStartedEvent/1.0.0.json +++ b/schemas/EiffelTestCaseStartedEvent/1.0.0.json @@ -85,6 +85,9 @@ "id": { "type": "string" }, + "version": { + "type": "string" + }, "uri": { "type": "string" }