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

Feat find unit tests #669

Merged
merged 14 commits into from
Jan 27, 2025
Merged

Feat find unit tests #669

merged 14 commits into from
Jan 27, 2025

Conversation

justine-gehring
Copy link
Contributor

What's changed?

Adding a recipe to find examples of how a method is being used in unit tests.

What's your motivation?

This recipe can then be used for rewrite-comprehension to feed more information to an LLM.

Comment on lines +115 to +117
String clazz;
String unitTestName;
String unitTest;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of String we might want to use the types of the LST elements matched here instead.

@justine-gehring justine-gehring marked this pull request as ready for review January 27, 2025 23:01
Comment on lines +52 to +53
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}

…s.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@justine-gehring justine-gehring merged commit 6aa80c9 into main Jan 27, 2025
2 checks passed
@justine-gehring justine-gehring deleted the feat-find-unit-tests branch January 27, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants