open-telemetry / opentelemetry-java-instrumentation

OpenTelemetry auto-instrumentation and instrumentation libraries for Java
https://opentelemetry.io
Apache License 2.0
1.79k stars 785 forks source link

Help wanted! Convert Groovy tests to Java #7195

Open trask opened 1 year ago

trask commented 1 year ago

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!)

AlexanderWert commented 1 year ago

elasticsearch/elasticsearch-rest-5.0 and elasticsearch/elasticsearch-rest-6.4 already have Java tests.

Moved tests to Java for elasticsearch/elasticsearch-rest-7.0 as part of this open PR:

jaydeluca commented 1 year ago

I'm working on converting apache-camel-2.20

jaydeluca commented 11 months ago

it was a rainy day here, so I wrote a little script to track the progress of this project from the time this issue was opened

example_output

jaydeluca commented 11 months ago

I plan to work on the remaining hibernate tests (hibernate-3-3 and hibernate-4-0) if no one else is already working on them

jaydeluca commented 9 months ago

Progress update, getting close to under 400 remaining files:

2023-09-18-otel-update

Also, just as a note, the following are also completed and can be updated on the original issue checklist:

jaydeluca commented 7 months ago

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

latest

zeitlinger commented 6 months ago

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 commented 4 months ago

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

jaydeluca commented 1 month ago

Latest progress update:

progress
jaydeluca commented 4 days ago

I found a few more that we can check off the list: