You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by "strangelookingnerd (via GitHub)" <gi...@apache.org> on 2025/04/25 11:14:01 UTC
[PR] Migrate tests to JUnit5 [incubator-wayang]
strangelookingnerd opened a new pull request, #555:
URL: https://github.com/apache/incubator-wayang/pull/555
This PR aims to migrate all tests to JUnit5. Changes include:
* Migrate annotations and imports
* Migrate assertions
* Remove public visibility for test classes and methods
* Minor clean up
I am well aware that this is a huge changeset however I hope that there is still interest in this PR and it will be reviewed.
If there are any questions, please do not hesitate to ping me.
Why this is a good change:
* JUnit 5 is the modern standard: It offers a cleaner and more powerful programming model, better extensibility, and improved support for modern Java features (like lambdas, streams, and optional parameters).
* Improved test maintainability: JUnit 5’s more expressive annotations and lifecycle management make tests easier to read, write, and debug.
* Enables use of modern extensions: Migrating paves the way to leverage powerful third-party extensions and tooling (e.g., parameterized tests, dynamic tests, conditional execution).
It is important to notice that this change should not alter the test logic, but bring the project in line with modern best practices and help keeping it future-proof.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2935067683
Super! Everything works now! Thank you for the contribution :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2832026575
Hi @strangelookingnerd! Thank you for your contribution! This PR will take some time to be reviewed :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2934540947
I'm not familiar with the new junit api, but the tests where the new changes fail are the tests that are supposed to cause an exception.
<img width="2131" alt="Screenshot 2025-06-03 at 12 18 59" src="https://github.com/user-attachments/assets/f76e0811-0bac-4ca0-a681-b5e1e9010130" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2889898276
Hi @strangelookingnerd, can you check and resolve the conflicts? Also some test is failing, if you could also check that it would be great.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "strangelookingnerd (via GitHub)" <gi...@apache.org>.
strangelookingnerd commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2934463294
Not really sure what is causing the test failures, any input would be appreciated.
```
2025-05-28T15:41:32.4051810Z [ERROR] Errors:
2025-05-28T15:41:32.4053329Z [ERROR] JavaIntegrationIT.testReadAndTransformAndWriteWithIllegalConfiguration1:98 » Wayang Could not find a single execution plan.
2025-05-28T15:41:32.4054527Z [ERROR] SparkIntegrationIT.testReadAndTransformAndWriteWithIllegalConfiguration1:98 » Wayang Could not find a single execution plan.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "strangelookingnerd (via GitHub)" <gi...@apache.org>.
strangelookingnerd commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2916088747
Fixed merge conflicts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "strangelookingnerd (via GitHub)" <gi...@apache.org>.
strangelookingnerd commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2832510999
> Hi @strangelookingnerd! Thank you for your contribution! This PR will take some time to be reviewed :)
All good, I'll try my best to resolve merge conflicts in the meantime.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "strangelookingnerd (via GitHub)" <gi...@apache.org>.
strangelookingnerd commented on PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555#issuecomment-2934811669
@zkaoudi Apparently I'm getting snowblind looking at my own changes 😁 I think I got it now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate tests to JUnit5 [incubator-wayang]
Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi merged PR #555:
URL: https://github.com/apache/incubator-wayang/pull/555
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org