Skip to content

[ENHANCEMENT] Add detailed error message when a test fails #173

@LuisaVS1

Description

@LuisaVS1

Is there an existing issue or PR for this?

  • I have searched the existing issues and PRs

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?

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions