From 1c0f3bfd19b7ca133832c2a03614f5afebe915b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20B=C3=A4ckmark?= Date: Tue, 7 Mar 2017 16:48:13 +0100 Subject: [PATCH 1/3] Added data.testCase.version to EiffelTestCaseStartedEvent --- eiffel-vocabulary/EiffelTestCaseStartedEvent.md | 7 ++++++- examples/events/EiffelTestCaseStartedEvent/simple.json | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/eiffel-vocabulary/EiffelTestCaseStartedEvent.md b/eiffel-vocabulary/EiffelTestCaseStartedEvent.md index b219e67d..d9fb1477 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. + #### 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. Whether the uri includes the version of the test case or just its id is up to the user of the protocol to decide. ### 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", From 1ee54e899fe64e241f74583959091164e02cf550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20B=C3=A4ckmark?= Date: Wed, 8 Mar 2017 08:34:43 +0100 Subject: [PATCH 2/3] Added missing schema update --- schemas/EiffelTestCaseStartedEvent/1.0.0.json | 3 +++ 1 file changed, 3 insertions(+) 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" } From 8519d457646cd85f667886007b5aaa777785b1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20B=C3=A4ckmark?= Date: Wed, 8 Mar 2017 09:24:09 +0100 Subject: [PATCH 3/3] Updated descriptions --- eiffel-vocabulary/EiffelTestCaseStartedEvent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eiffel-vocabulary/EiffelTestCaseStartedEvent.md b/eiffel-vocabulary/EiffelTestCaseStartedEvent.md index d9fb1477..fdaeb747 100644 --- a/eiffel-vocabulary/EiffelTestCaseStartedEvent.md +++ b/eiffel-vocabulary/EiffelTestCaseStartedEvent.md @@ -20,12 +20,12 @@ __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. +__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. Whether the uri includes the version of the test case or just its id is up to the user of the protocol to decide. +__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