test-results-reporter / parser

Parse test results from JUnit, TestNG, xUnit and many more
https://www.testbeats.com
MIT License
12 stars 9 forks source link

Proposal: Add support for attachments #49

Open bryanbcook opened 8 months ago

bryanbcook commented 8 months ago

Proposal, add testcase.attachment:

{
  "suites": [
     {
        "cases": [
             {
                "name": "",
                "status": "",
                "meta_data": {
                },
                "attachments": [
                   {
                      "name": "optional",
                      "path": "required - file name that the user provided",
                   }
                ]
             }
        ]
     }
   ]
}

Note that not all frameworks have built in support for including attachments as part of the result.