Add Thread Id to the Test object #26
alexshamrai
started this conversation in
Schema
Replies: 1 comment 1 reply
-
Thanks for the suggestion, I agree this should be added to the test object. As we are yet to version the specification and this is an additional optional property, I've added it immediately. https://ctrf.io/docs/specification/test I'm looking forward to discussing timelines separately |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have an optional String field
threadId
in theTest
object in the current schemaMotivation: It will allow us to build a Timeline graph, especially for multithread test runs. It could be beneficial for higher test levels (e2e, integration etc.), where tests are longer and can cause issues related to multithread runs.
Currently, for my local needs, I have just added it to the
Extra
object. But when it will be added to the schema, we can do a tool that will add similar timeline in official reporters.Just as an example. For this json

ctrf-report-example-thread.json
I use a straightforward script which build something like this
It is inspired by Allure Timeline feature
After this change to schema we can discuss how we can add timelines to existent ctrf reporters in a separate discussion. Or timelines can be added as a part of html in future
Beta Was this translation helpful? Give feedback.
All reactions