Skip to content
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

(autofix) Revisit unit test gen flow #1450

Open
roaga opened this issue Nov 18, 2024 · 0 comments
Open

(autofix) Revisit unit test gen flow #1450

roaga opened this issue Nov 18, 2024 · 0 comments

Comments

@roaga
Copy link
Member

roaga commented Nov 18, 2024

Perhaps it should be a fully developed step like root cause and code changes.

Idea for a flow:

  • after root cause output, next to the "use suggested rc" and "propose your own" should be "test it", that has a message: "Write tests to reproduce the issue and verify the root cause?" and a button to trigger the test step instead of the fix
  • test step runs with insight cards as usual
  • final output is a text description of how to reproduce and a diff output of the tests. Can copy paste
  • button to Find a Fix, generates fix as normal.
  • outputted fix should have combined with the test diff
  • if fix was called directly after the RCA step, there should be a 3rd tab to do the test flow. Then the test flow should end with the create PR button as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant