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

Help wanted! Convert Groovy tests to Java #7195

Open
trask opened this issue Nov 16, 2022 · 9 comments
Open

Help wanted! Convert Groovy tests to Java #7195

trask opened this issue Nov 16, 2022 · 9 comments
Labels
contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome

Comments

@trask
Copy link
Member

trask commented Nov 16, 2022

We've made some initial progress in #7148, #6613, #6537, #6497, #6484, #6486, #6485, #5774, #5688, #5679, #5668, #5660, #5596, #5581, #5521, #5504, #5399, #3768, #3525 (among others)

But there's so much more! 😅

Pick your favorite(s) and help us convert one or two (or ten!)

@trask trask added the contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome label Nov 16, 2022
@trask trask pinned this issue Nov 22, 2022
@trask trask changed the title Convert Groovy tests to Java Convert Groovy tests to Java [help wanted!] Nov 22, 2022
@trask trask changed the title Convert Groovy tests to Java [help wanted!] Help wanted! Convert Groovy tests to Java Nov 22, 2022
trask pushed a commit that referenced this issue Jan 3, 2023
Part of
#7195
Resolves
#7417
Vaadin tests often break with a new version of vaadin. To improve this
tests were change to assert only the traces and spans that are common in
all the versions.
trask pushed a commit that referenced this issue Jan 23, 2023
mateuszrzeszutek pushed a commit that referenced this issue Jan 30, 2023
mateuszrzeszutek pushed a commit that referenced this issue Feb 7, 2023
trask pushed a commit that referenced this issue Feb 27, 2023
Converts apache-httpclient-4.0 unit tests in java. Version 4.0 was using
GuardedBy annotation which was interfering with the test cases, hence
the library version was shifted to 4.1.
#7195
laurit pushed a commit that referenced this issue Mar 11, 2023
laurit pushed a commit that referenced this issue Mar 11, 2023
mateuszrzeszutek pushed a commit that referenced this issue Mar 27, 2023
Related to #7195.

Converts spring data instrumentation tests from groovy to java.
mateuszrzeszutek pushed a commit that referenced this issue Mar 28, 2023
Related to #7195 

Converts Geode test from Groovy to Java.
@jaydeluca
Copy link
Contributor

The issue has been open for about a year now, here's the latest progress report:

latest

@zeitlinger
Copy link
Member

zeitlinger commented Dec 21, 2023

Just tried both IDEA and copilot for converting, but neither was able to do it.
Nor chatGPT. This is the test case: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/spring/spring-batch-3.0/javaagent/src/test/groovy/SpringBatchTest.groovy

@jaydeluca
Copy link
Contributor

in my travels I've come across a few that can be checked off in the checklist:

@jaydeluca
Copy link
Contributor

Latest progress update:

progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome
Projects
None yet
Development

No branches or pull requests

4 participants