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

ICTL-851 Add support for JUnit 5 for LLM-based test generation #118

Merged
merged 37 commits into from
Feb 21, 2024

Conversation

NikolaiSviridov
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@pderakhshanfar pderakhshanfar left a comment

Choose a reason for hiding this comment

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

The prompt generation works fine. Also, compilation seems fine. However, every test execution with JUnit 5 fails (look at the attachment). This is due to missing JUnit core dependency for test execution
Screenshot 2024-02-16 at 11 18 25

@pderakhshanfar
Copy link
Collaborator

I found another bug:

When the detected test platform is JUnit 4, in the menu, still the pre-selected option is JUnit 5 (see attachment)
Screenshot 2024-02-16 at 11 37 40

…estRunner4 (fix the test execution failure parsing issue)
Copy link
Collaborator

@pderakhshanfar pderakhshanfar left a comment

Choose a reason for hiding this comment

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

Found a minor issue in capturing JUnit5's test execution failures. Fixed it in the latest commit. Other than that, everything looks good. @arksap2002 can you also check it?

…to-stand-alone-module' into nikolaisv/ICTL-851

# Conflicts:
#	src/main/kotlin/org/jetbrains/research/testspark/tools/llm/generation/Patterns.kt
#	src/main/kotlin/org/jetbrains/research/testspark/tools/llm/generation/PromptManager.kt
#	src/main/kotlin/org/jetbrains/research/testspark/tools/llm/generation/TestsAssembler.kt
Copy link
Collaborator

@arksap2002 arksap2002 left a comment

Choose a reason for hiding this comment

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

@NikolaiSviridov, thank you!

@arksap2002 arksap2002 merged commit e332956 into development Feb 21, 2024
3 checks passed
@arksap2002 arksap2002 deleted the nikolaisv/ICTL-851 branch February 21, 2024 13:19
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

Successfully merging this pull request may close these issues.

4 participants