You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unalbe to upload failure stacktraces from the phpunit framework
We have PHPUnit integration setup according to the instructions, however stack traces are missing from the report. According to the code of the allure library, it only includes a message, without a stack trace.
To Reproduce
fail a test
Expected behavior
A clear and concise description of what you expected to happen.
when a test failed, then the stacktrace is included into the test result.
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I figured it out. ExceptionDetailsTrait is supposed to be used for that. However, it's broken because onNotSuccessfulTest is called at the very end of a test run after the testErrored event has been emitted.
So setLastException is happening after the test status was recorded and as a result, the details are missing in the report.
Describe the bug
Unalbe to upload failure stacktraces from the phpunit framework
We have PHPUnit integration setup according to the instructions, however stack traces are missing from the report. According to the code of the allure library, it only includes a message, without a stack trace.
To Reproduce
fail a test
Expected behavior
A clear and concise description of what you expected to happen.
when a test failed, then the stacktrace is included into the test result.
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: