pyats icon indicating copy to clipboard operation
pyats copied to clipboard

RFE: Reason column on the detailed results

Open renatoalmeidaoliveira opened this issue 6 years ago • 4 comments

It would be great to have a fail reason column on the detailed results, and that column would be filled with the self.failed description. That way on the exception handling process the coder could give precise output error without the need of going back on all lines of test results

renatoalmeidaoliveira avatar Jun 22 '19 03:06 renatoalmeidaoliveira

this is a really interesting suggestion.

are you suggesting in the email report?

say if we do go down that route - how do you make sure it fits in a line?

i have a feeling people will put in a lot... of details

simingy avatar Jun 22 '19 03:06 simingy

Initially i had thought on the CLI, but on the email it's even better. About the space requirement the detailed results should be a high level report so there shoudn't be lot of details, in a good sense perspective..., but the line could be truncated on 998 char

renatoalmeidaoliveira avatar Jun 22 '19 04:06 renatoalmeidaoliveira

can you provide a text output of an example of what you are looking for?

simingy avatar Jun 22 '19 14:06 simingy

I think in two models: 1st the reason goes directly on the Task Results section image 2nd the reason goes on another sections of the report. I think that model might be best because the requirement of fittin in a line could be more flexible, and consolidates all the failures in a easy to see section image

renatoalmeidaoliveira avatar Jun 22 '19 18:06 renatoalmeidaoliveira