Design for JSON format of PTL test execution report.
...
Visibility: Public
Change Control: Stable
Details:
This method needs to be called in order to set a dictionary that would be merged with the json data and provided in the test report for the overall run. This might be required if the test wants to spell out any additional non-analytical information regarding the test run, for example a string format of data. The data should be in accordance to the hierarchy of json format specified; based on this hierarchy the key-value pairs would be inserted at appropriate levels into the report.
This method can be called anywhere from test case method or any custom setUpClass()/setUp()/tearDown()/tearDownClass() methods. Based on the hierarchy the dictionary The data would be merged to the json reportadded as a dictionary called "additional_data" in parallel to "test_summary" section of the test run. In case of repetitive calls, the key-value pairs would be appended to the same dictionary and in case of repetition of any keyword at the same levelkeywords; latest value would be retained in the merged report.
...
"pbs_version":"19.1.0",
"run_id": 083120181546,
"test_conf": {
...
"Time_zone": "America/New_York (EDT, -0400)"
}
}
...
Project Documentation Main Page
...
Page Properties | ||||
---|---|---|---|---|
| ||||
Ignore this. We may use it later for page characterization. |
...