Describe the solution you'd like
It seems that pytest separates between Error and Fail.
For example:
If my test issue is to check ping between two Clients and the test fail during client initialization
then it is an Error, but if ping is not replying then it is a Fail
The Problem:
Report Portal does not distinguish between the two statuses, both will be signed as Fail.
Notes:
Is your feature request related to a problem? Please describe.
...
@roniezr will it work, if you send it like FAIL status, but push it with custom defect type?
for instance, send as Failed, ErrorFail (from system issue group)?
@reportportal/python-contributors what do you guys think?
is it the common approach to use ERROR status?
I'd glad to see new STATUS type called "Error" instead of all "FAILED" as we have today
IMO, agree to @roniezr, we should separate these statuses.
Please don't introduce more test statuses on the server side. Doesn't matter how pytest differentiates failures, I can bring more different statuses from others unit frameworks.
In my opinion test should be good or bad on the server. Issues customization should answer on the question why exactly test was bad. So we should think about how to improve issue categories. Might be tree-view categories, or possibility to assign several categories.
Agree with @nvborisenko
Don't forget what you do with tests. You test!
Test can pass or fail.
it is the ultimate goal for test: check condition or show that you failed.
ReportPortal should show you tests statuses first of all. Represent fail roots is secondary.
All the rest are the reasons of fail. This should be defect types.
Resolution: rejected
Most helpful comment
Please don't introduce more test statuses on the server side. Doesn't matter how
pytestdifferentiates failures, I can bring more different statuses from others unit frameworks.In my opinion test should be good or bad on the server. Issues customization should answer on the question why exactly test was bad. So we should think about how to improve issue categories. Might be tree-view categories, or possibility to assign several categories.