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

Migration from JUnit4 to JUnit5 #375

Closed
11 tasks done
bauersimon opened this issue Dec 18, 2024 · 1 comment
Closed
11 tasks done

Migration from JUnit4 to JUnit5 #375

bauersimon opened this issue Dec 18, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bauersimon
Copy link
Member

bauersimon commented Dec 18, 2024

Goal: benchmark LLMs on migrating code.

In our concrete case it should be from JUnit 4 to JUnit 5.

Iteration 1:

  • add a new task for migrating code
    • testdata layout
      • implementation sample files are in one folder
      • JUnit 4 test sample files are in one test folder (1:1 mapping)
      • pom.xml already contains JUnit 5 dependencies (cause migrating a pom file successfully is a different task!)
      • (maybe) pom_4.xml contains JUnit 4 dependencies to manually verify that the tests work in practice
    • for every test file, give to LLM, request migration to JUnit 5
    • execute only that test file
    • score should be if the coverage is still the same (but that shouldn't matter during the benchmark anyways)
  • apply symflower fix as a separate task version
  • plain example to showcase it works

Iteration 2: Actual real world testdata -> proprietary

Iteration 3: Testdrive with a few models - > done

@bauersimon bauersimon added the enhancement New feature or request label Dec 18, 2024
@bauersimon bauersimon added this to the v0.7.0 milestone Dec 18, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Dec 20, 2024
ruiAzevedo19 added a commit that referenced this issue Jan 6, 2025
ruiAzevedo19 added a commit that referenced this issue Jan 7, 2025
bauersimon pushed a commit that referenced this issue Jan 7, 2025
bauersimon pushed a commit that referenced this issue Jan 7, 2025
bauersimon pushed a commit that referenced this issue Jan 7, 2025
bauersimon pushed a commit that referenced this issue Jan 8, 2025
@bauersimon bauersimon mentioned this issue Jan 13, 2025
88 tasks
@bauersimon
Copy link
Member Author

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants