Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Support JUnit5 #151

Closed occupant23 closed 4 months ago

occupant23 commented 4 years ago

Have a look what it would take to support JUnit5.

It would be nice to support both versions in parallel. Maybe it could be interesting to come up with some kind of adapter setup that could make it easy to support TestNG.

mk-94 commented 3 years ago

Hi, i would take it and try to implemet junit 5 Support. Is there anything to look at? How i can start with this issue?

occupant23 commented 3 years ago

Hi @mk-94, this sounds good. Just fork the project and give it a try.

You should start with the NeodymiumRunner which extends BlockJUnit4ClassRunner. Afterwards you would've to work on the Statements for TestData, Browser and Parameter. In general, I guess we need to touch nearly everything within the neodymium.module package and the belonging sub packages. Most of the functional logic can be reused but needs to be adapted to the JUnit5 standard.

At the moment I not sure if we keep the JUnit4 support for some time so it would be nice if you create a package with similar classes for JUnit5.

Feel free to show your intermediate results or ask questions. I will try to give guidance where I can. 😄

Thanks for your support!

mk-94 commented 3 years ago

Thank you. :) I will start today. :)

occupant23 commented 3 years ago

Reminder link to the forked repo: https://github.com/mk-94/neodymium-library

occupant23 commented 3 years ago

Hi @mk-94, I just wanted to ask if you made any progress with the topic and if we can give you some guidance?

AJakobi commented 6 months ago

idea for documentation: comparison of diffs between 4 & 5