UNPKG

@microfocus/alm-octane-test-result-convertion

Version:

A NodeJS library for converting different kinds of test reports into OpenText SDP / SDM format.

71 lines (70 loc) 1.59 kB
{ "test_result": { "build": { "_attributes": { "build_id": "myBuildId", "build_name": "myBuild", "job_id": "job1", "job_name": "job1", "server_id": "123", "sub_type": "sub" } }, "test_fields": { "test_field": [ { "_attributes": { "type": "type1", "value": "val1" } }, { "_attributes": { "type": "type2", "value": "val2" } } ] }, "test_runs": { "test_run": [ { "_attributes": { "class": "myClass", "duration": 1233, "external_report_url": "erep1", "external_run_id": "er1", "external_test_id": "et1", "module": "myModule", "name": "runName1", "package": "pack1", "run_type": "auto1", "started": 1234, "status": "Failed" }, "description": "desc", "error": { "_attributes": { "message": "error msg", "type": "err" }, "_text": "Error message" } }, { "_attributes": { "class": "myClass", "duration": 1233, "module": "myModule", "name": "runName2", "package": "pack2", "run_type": "auto2", "started": 1234, "status": "Passed" }, "description": "desc" } ] } } }