We're updating the issue view to help you get more done. 

@requirements data in PTL json test report

Description

Data relating to Test case requirements specified in @requirements decorator as designed in "https://pbspro.atlassian.net/wiki/spaces/PD/pages/458883073/PP-1281+New+decorator+in+PTL+using+which+user+can+provide+cluster+information+required+for+a+test." needs to be included in PTL's json test report's "requirements" field.

Currently it lists a blank dictionary as below since during Json report feature implementation requirements decorator feature was not implemented:

{
"testsuites": {
"TestRequirementsDecorator": {
"testcases": {
"test_tc_run": {
"docstring": "Test to verify test run when requirements are satisfied test suite requirements overridden by test case requirements",
"requirements": {},
"results": {
"status": "PASS",
"start_time": "2019-02-11 00:24:15.497798",
"measurements": [],
"status_data": "",
"end_time": "2019-02-11 00:24:17.992014",
"duration": "0:00:02.494216"
},
"tags": [
"smoke"
]
},

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

sarita kh

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

Low