Skip to content

[TA] AI generated failed test solution #3159

Description

@Adal3n3

Problem

Debugging failed tests is a time-intensive and frustrating task for developers. With our current Test Analytics solution, when tests fail, developers can easily access the error message, the file and test where the error occurred, and the stack traces. This helps them focus on their test-fixing workflow without needing to dig through logs to identify the failure reason.

However, manually analyzing root-cause information can be time-consuming when determining a solution for fixing failed tests. Often, stack traces contain overwhelming information and can be challenging to interpret without providing a more direct path to a solution.

Proposed Solution

Leverage AI to generate suggestions for fixing failed tests. This would help developers reduce the time spent analyzing failures, enabling faster debugging. It would make the test-fixing workflow more developer-friendly and less frustrating while aligning seamlessly with the existing development process.

We understand that there isn’t always a one-size-fits-all solution. For the initial design iteration, we can narrow the scope to provide one or two AI-generated suggestions and focus on ensuring the quality of these suggestions.

Design Exploration

Exploration 1: Provide one single solution only
Image

Exploration 2: Provide > 1 solution
Image

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions