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

Support JUnit 5 #78

Open
JeffFaer opened this issue Mar 3, 2017 · 2 comments
Open

Support JUnit 5 #78

JeffFaer opened this issue Mar 3, 2017 · 2 comments

Comments

@JeffFaer
Copy link

JeffFaer commented Mar 3, 2017

JUnit 5 introduces a new extension mechanism. It would be nice if there was a JukitoExtension for JUnit 5. Is there any interest in officially supporting JUnit 5?

@olafleur
Copy link
Member

olafleur commented Mar 3, 2017

Good idea !

@tbroyer
Copy link

tbroyer commented Jan 26, 2019

Fwiw, https://github.com/JeffreyFalgout/junit5-extensions/tree/master/guice-extension could likely replace JukitoRunner in many cases (haven't tried it yet though). Using a JukitoModule or TestModule would add TestScope and Mockito support, though AFAICT you'd have to call TestScope.clear() yourself and couldn't run such tests in parallel; and @All wouldn't be supported.
One could likely replace TestScope with singleton scope and not sharing injectors (the default behavior), and replace Mockito support by explicitly binding toInstance of manually-created mocks/spies.

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

No branches or pull requests

3 participants