-
-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctest integration doesn't decode or show exceptions #4261
Comments
Hi @Di3mex ! I'm no expert on Doctest, but I guess PlatformIO is not of any help here. It seems that Doctest itself is not able to recognize the exception and PlatformIO simply parses the Doctest output and passes it to you in a unified format. Is there any way to force Doctest to print any additional info, maybe a specific configuration flag or something? |
@valeros I did check the configuration options and tried the ones that had something to do with exception handling. They didn't change anything. |
Does it work for you if you use the Doctest WITHOUT PlatformIO? I don't think we can solve this issue on our part. |
Please reopen if you still need help |
Configuration
Operating system:
Windows 10 64 bit, gcc installed via Cygwin
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.0.0rc1
Description of problem
Steps to Reproduce
Actual Results
ERROR: test case THREW exception: unknown exception
Expected Results
The exception in a readable format.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
This is a problem especially when using Mocking frameworks like Fakeit or Google Mock as they throw errors when methods are called which have not been mocked out. Without the actual exception its time-consuming to figure out where the error occured.
The text was updated successfully, but these errors were encountered: