postmanlabs / newman

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

Folder names for test cases are not shown in html report #844

Closed sinaa2000 closed 7 years ago

sinaa2000 commented 7 years ago
  1. Newman Version (can be found via newman -v): 3.3.1

  2. OS details (type, version, and architecture): Win 7 Pro 64 bit

  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: Recently after downloading changes made to html reporter

  5. Expected behaviour: Should show folder names but its not

  6. Command / script used to run Newman: newman run collection.json-e env --reporters cli,html --reporter-html-export report.html

  7. Sample collection, and auxilliary files (minus the sensitive details):

  8. Screenshots (if applicable):

The issue is I have test case folders each one with multiple API calls(steps) but only these calls(steps) are shown in the html report and its unclear which test step goes to which folder! Is there a way to show the folder name when each series of tests under each folder is run? Already uploaded and used your changed version with if folder and aggregations.hbs template but still getting no folder shown under the html report. Tested with both collection v1 and 2, same issue.

Thanks

kunagpal commented 7 years ago

@sinaa2000 Folder name support for the HTML report has been added in https://github.com/postmanlabs/newman/pull/826, and will be available in the next Newman release :smile:

sinaa2000 commented 7 years ago

Thanks for your quick response! So it's not possible in anyways on this 3.3.1 I'm running?

sinaa2000 commented 7 years ago

And if not, when can we expect the new release?

kunagpal commented 7 years ago

The next release can be expected in a week or two.

sinaa2000 commented 7 years ago

Ok, cool, thanks!

kunagpal commented 7 years ago

Duplicate of #825

kunagpal commented 7 years ago

@sinaa2000 Newman v3.4.0 has been released, which includes collection folder name support for the HTML reporter, do go ahead and try it out! :smile:

sinaa2000 commented 7 years ago

Great! Thanks for the heads up!