The junit report does not include skipped test information
-
Newman Version (can be found via
newman -v): 5.3.2 -
OS details (type, version, and architecture): Windows
-
Are you using Newman as a library, or via the CLI? CLI
-
Did you encounter this recently, or has this bug always been there: always been there
-
Expected behaviour: When a test is skipped, it should be displayed under the testcase element
-
Command / script used to run Newman: newman run --reporters junit mycollection.js
-
Sample collection, and auxiliary files (minus the sensitive details): mycollection.json
-
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.
Any update on this?
@appurva21 Hi Appurva, Any update on this
I ran into the same issue after adding some pm.test.skip calls.
@brice it looks like you already have what is neede for a PR for this in https://github.com/brice/newman-reporter-junitfull/commit/d211a1b52a2a038f601250ebee2b8f378f9391bd
Here's hoping this can get merged into the official newnam so we do not have to patch the docker image we use