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

JUnit 5 Support [PAXEXAM-866] #951

Open
ops4j-issues opened this issue Jul 28, 2017 · 3 comments
Open

JUnit 5 Support [PAXEXAM-866] #951

ops4j-issues opened this issue Jul 28, 2017 · 3 comments
Labels
Milestone

Comments

@ops4j-issues
Copy link

Christoph Läubrich created PAXEXAM-866

Goals

Users can work with the junit-jupiter-api to write Pax Exam tests for all operation modes.

Pax Exam uses JUnit 5 extensions and/or a custom test engine to support this.


Fixed in: 5.0.0
Votes: 0, Watches: 1

@splatch
Copy link
Member

splatch commented Jan 2, 2023

I did have a look on some of JUnit 5 APIs and made over Christmas some experiments to see how hard it is to bring a new extension. It turns that it might be simpler than JUnit 4 as there are more places to hook an extension. Question is - how far are changes expected to come with exam 5 given last concepts in this area are 5 years old: https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/133333475/Pax+Exam+5+Vision

CC @hwellmann @grgrzybek @laeubi

@laeubi
Copy link
Member

laeubi commented Jan 3, 2023

Question is - how far are changes expected to come with exam 5

I must confess that I think Exam5 is nearly dead and will most probably never be released. I put a lot of effort in it a few years back but now have no immediate need for it and none of my customers is interested in it right now, so the "Vision" got a bit lost over the years...

But if you like to revive it I think you should go on, if exam 5 is crucial to your business you can also contact me to enter a contract for modernize/update it.

If you just want to test OSGi applications, I recently started a more lightweight approach here:

(you can find an example here: ops4j/org.ops4j.pax.jdbc#273)

@splatch
Copy link
Member

splatch commented Jan 3, 2023

Question is - how far are changes expected to come with exam 5

I must confess that I think Exam5 is nearly dead and will most probably never be released. I put a lot of effort in it a few years back but now have no immediate need for it and none of my customers is interested in it right now, so the "Vision" got a bit lost over the years...

I think its sign of time, rise of test containers made pax-exam and arquillian less attractive given not that low entry point for both. I can definitely see a point in some of Exam 5 goals, especially that design and consistency of Options across implemented containers is small or non-existent.

But if you like to revive it I think you should go on, if exam 5 is crucial to your business you can also contact me to enter a contract for modernize/update it.
If you just want to test OSGi applications, I recently started a more lightweight approach

I'll try first to experiment with test container and see how it will go. It works with junit 5 out of the box and all I need is access to REST interface of deployed application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants