Is there an existing issue or PR for this?
Reasoning
Currently, when a test fails, the error message is something generic like ERROR: Exiting with code 1 However, this doesn't provide any information about which class, function, or line caused the failure, or what might have triggered the error. This makes debugging more time-consuming and difficult.
Proposed Solution
Enhance the error output to include more descriptive messages that specify:
- The file name and function where the error occurred
- The exact line number, if possible
- A brief context or summary of the failure reason
Impact
Adding a more detailed error message would help to more quickly identify and resolve issues.
Anything else?
