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 · 22 comments
Open

Help wanted! Convert Groovy tests to Java #7195

trask opened this issue Nov 16, 2022 · 22 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
Member

we've got some serious momentum lately, and we're now below 200 files remaining. thanks @zeitlinger @laurit @shalk and @xiepuhuan!

test file burn down

Remaining modules by file count percentage:

breakdown

instrumentation list sorted by sum of the file sizes:

Key File Count (Sum) File Size
aws-sdk 17 127827
jdbc 8 90890
jaxrs 37 72352
servlet 10 65662
vertx 14 56845
ratpack 16 51932
mongo 10 51661
play 15 48986
restlet 22 38226
jaxws 17 21595
kafka 3 21505
twilio-6.6 1 18936
jaxrs-client 5 16067
spymemcached-2.12 1 15630
undertow-1.4 3 12754
hibernate 1 12167
dropwizard 2 10789
rediscala-1.8 1 3898
grails-3.0 3 3201
internal 2 2603
Total 188 743526

@zeitlinger
Copy link
Member

using cloc

---------------------------------------------------------------------------------
Language                       files          blank        comment           code
---------------------------------------------------------------------------------
Java                            4222          48133          34902         254323
Groovy                           234           3698           1488          21169

@jaydeluca
Copy link
Member

the finish line is in sight, ~124 files left!

groovy timeseries groovy detailed
Key File Count Total File Size
aws-sdk 17 129822
jaxrs 37 72352
vertx 14 57034
ratpack 16 55660
jaxws 17 21595
kafka 3 21493
twilio-6.6 1 18936
jaxrs-client 5 16067
play 5 13988
hibernate 1 12167
dropwizard 2 10789
rediscala-1.8 1 3898
grails-3.0 3 3473
internal 2 2603
Total 124 439877

@jaydeluca
Copy link
Member

jaydeluca commented Nov 17, 2024

A couple of days ago we hit the 2 year anniversary of this issue 🎉

We are now down to 88 files

Groovy timeseries Groovy breakdown
Key File Count Total File Size
aws-sdk 13 110513
jaxrs 37 72352
vertx 14 57970
ratpack 16 55660
twilio-6.6 1 18936
hibernate 1 13692
jaxrs-client 4 13629
internal 2 2603
Total 88 345355

@jaydeluca
Copy link
Member

posting to avoid any duplicative work by others: I am completing the remaining aws sdk 1.11 tests

@shalk
Copy link
Contributor

shalk commented Nov 21, 2024

i will finish hibernate part

@zeitlinger
Copy link
Member

~/opt/cloc-2.02/cloc --match-d='/(src)/' instrumentation

---------------------------------------------------------------------------------
Language                       files          blank        comment           code
---------------------------------------------------------------------------------
Java                            3679          40684          25995         222537
Groovy                            82           1138            438           8289

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

6 participants