DannyDainton / newman-reporter-htmlextra

A HTML reporter for Postman's Command Line Runner, Newman. Includes Non Aggregated Runs broken down by Iterations, Skipped Tests, Console Logs and the handlebars helpers module for better custom templates.
Apache License 2.0
357 stars 139 forks source link

suggest show failed case full path include folder name #43

Closed lleheaven closed 5 years ago

lleheaven commented 5 years ago

The report is great!

I just suggest the failed case title could add full folder path name, because my case is in different sub folders, when it fails, it only show the case name, but not show in which sub folder, then I need switch to "total Requests" tab to find the case, and the folder name always show gray color,

I suggest that if in some sub folder have error case, it could show red color then you can quickly find your failed case. and on "total Requests" tab, if it have one button could unfolder is more better for search failed case.

Thanks!

DannyDainton commented 5 years ago

All vaild suggestions, I'm open to PRs if you wanted to help achieve that. Do you have a mock up of what that would look like in the report?

You could also create a template to do those things rather than using the default output report.

lleheaven commented 5 years ago

the hoped foldername show like this : https://drive.google.com/open?id=1WjqEnVhkR77Rl81pSFMTrfJMBd2hhAlE

DannyDainton commented 5 years ago

That looks like the template from here:

https://github.com/MarcosEllys/awesome-newman-html-template

As that's just a template on top of the standard Postman HTML reporter, you could replicate what's been done there and use it with this reporter.

DannyDainton commented 5 years ago

Hey @lleheaven

For the time being, I've included the full folder path on the Failed Tests tab.

Screenshot 2019-05-08 at 11 21 23

Not really decided what I want to do about the Total Requests view yet - I was looking at added some sort of indication to the tab to show if any of the requests in the folder has failed tests, rather than display red everywhere.

Screenshot 2019-05-08 at 07 53 05

There is the --reporter-htmlextra-showOnlyFails CLI flag, if you wanted to use it, to show only the fails in the Total Tests tab. It would be easier to find what you're looking for. :)

Failed_Requests_View
DannyDainton commented 5 years ago

I'm going to close this issue for now and added something to the project board for additional changes.

lleheaven commented 5 years ago

Thanks Danny ! It is a great report !

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.