You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [Unreleased]
9
+
### Added
10
+
- Add `Attachment.testRunHookStartedId` for traceability of attachments to test run hooks ([#301](https://github.com/cucumber/messages/pull/301))
9
11
10
12
### Fixed
11
13
-[python] Add a LICENSE file for Python ([#278](https://github.com/cucumber/messages/pull/278))
Copy file name to clipboardExpand all lines: jsonschema/Attachment.json
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,16 +33,24 @@
33
33
"$ref": "./Source.json"
34
34
},
35
35
"testCaseStartedId": {
36
+
"description": "The identifier of the test case attempt if the attachment was created during the execution of a test step",
36
37
"type": "string"
37
38
},
38
39
"testStepId": {
40
+
"description": "The identifier of the test step if the attachment was created during the execution of a test step",
39
41
"type": "string"
40
42
},
41
43
"url": {
42
44
"description": "*\n A URL where the attachment can be retrieved. This field should not be set by Cucumber.\n It should be set by a program that reads a message stream and does the following for\n each Attachment message:\n\n - Writes the body (after base64 decoding if necessary) to a new file.\n - Sets `body` and `contentEncoding` to `null`\n - Writes out the new attachment message\n\n This will result in a smaller message stream, which can improve performance and\n reduce bandwidth of message consumers. It also makes it easier to process and download attachments\n separately from reports.",
43
45
"type": "string"
44
46
},
45
47
"testRunStartedId": {
48
+
"description": "Not used; implementers should instead populate `testRunHookStartedId` if an attachment was created during the execution of a test run hook",
49
+
"type": "string",
50
+
"deprecated": true
51
+
},
52
+
"testRunHookStartedId": {
53
+
"description": "The identifier of the test run hook execution if the attachment was created during the execution of a test run hook",
0 commit comments