postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.82k stars 1.15k forks source link

The junit report does not include skipped test information #3191

Open brice opened 7 months ago

brice commented 7 months ago
  1. Newman Version (can be found via newman -v): 5.3.2

  2. OS details (type, version, and architecture): Windows

  3. Are you using Newman as a library, or via the CLI? CLI

  4. Did you encounter this recently, or has this bug always been there: always been there

  5. Expected behaviour: When a test is skipped, it should be displayed under the testcase element

  6. Command / script used to run Newman: newman run --reporters junit mycollection.js

  7. Sample collection, and auxiliary files (minus the sensitive details): mycollection.json

  8. Screenshots (if applicable): N/A

I want to know if there is a possibility to include skipped information under the testcase element in the junit report.

Here is a specification that include it https://llg.cubic.org/docs/junit/ I can do a PR if you want.