allure-python
allure-python copied to clipboard
Allure-pytest: report.longrepr information just available in allure web app if test fails with an exception
I'm submitting a ...
- [ ] bug report
- [X] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Allure-pytest plugin just show failure information if the test throws an exception.
https://github.com/allure-framework/allure-python/blob/5e7bc860b5ddc1e072b0302022669183f2c4321f/allure-pytest/src/listener.py#L161-L182
What is the motivation / use case for changing the behavior?
Some useful plugins, like pytest-check, allow a non-fatal assertion behaviour modifying "report.longrepr" variable. "report.longrepr" could be valuable to get extra information in case of fail without exception information.
Please tell us about your environment:
- Allure version: 2.13.8
- Test framework: [email protected]
- Allure adaptor: [email protected]