Jan-18-2018, 07:00 AM
Hi there,
I discovered pytest-html and using it as is, and it seems very nice and helpful.
I need to add a sorted column to it's report, and I just can't figure out the hook explanation given.
Here the link to the pytest-html package.
It has a section of "Modifying the results table", but doesn't say exactly where to put the code, and how do I refer to these fields from the tests.
I have test class that run methods (parameterized) and each has data that should be added as an additional column.
On each test I have server name info that I want to add a a column.
Any help or insight is welcomed :)
Thank you
I discovered pytest-html and using it as is, and it seems very nice and helpful.
I need to add a sorted column to it's report, and I just can't figure out the hook explanation given.
Here the link to the pytest-html package.
It has a section of "Modifying the results table", but doesn't say exactly where to put the code, and how do I refer to these fields from the tests.
I have test class that run methods (parameterized) and each has data that should be added as an additional column.
On each test I have server name info that I want to add a a column.
Any help or insight is welcomed :)
Thank you