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

Real JUnit 5 support (via extension API) #3477

Open
joecks opened this issue Oct 25, 2017 · 7 comments

Comments

Projects
None yet
7 participants
@joecks
Copy link

commented Oct 25, 2017

Currently there is no way to run JUnit 5 tests with robolectric. Are there any plans to introduce it or could someone sketch what would be needed for an integration so I could contribute the code.

@bangarharshit

This comment has been minimized.

Copy link

commented Oct 25, 2017

Duplicate issue - #3397.

@alixwar

This comment has been minimized.

Copy link
Contributor

commented Nov 6, 2017

@bangarharshit I took the liberty of renaming #3397 to scope that issue to make Robolectric tests work in legacy mode (tests run by the JUnit5 vintage runner) which should be more prioritized so that people can start migrating to JUnit5 (mixed JUnit4&5 tests).

IMO this issue is about "real" JUnit5 support (tests run by the JUnit5 jupiter runner) which means implementing the JUnit5 extension API.

@technoir42

This comment has been minimized.

Copy link

commented Feb 28, 2018

FYI Gradle 4.6 is out which supports JUnit Platform out of the box so we can now run JUnit 5 tests in Android projects without any 3rd party plugins.
It'd be great to have a JUnit 5 extension for Robolectric so we could use the awesome new @Nested and @ParametrizedTest.

@CoderSpinoza

This comment has been minimized.

Copy link

commented Apr 13, 2018

@alixwar I agree that this issue and #3397 should be separated. :) Is there a milestone set for this issue? Really wanna try out junit 5 (jupiter) with Robolectric in my project.

@olivierperez

This comment has been minimized.

Copy link

commented Nov 2, 2018

Any news about making Robolectric works with JUnit5?

@xian xian added this to the 4.1 milestone Nov 2, 2018

@xian xian changed the title JUnit 5 support Real JUnit 5 support (via extension API) Nov 2, 2018

@xian

This comment has been minimized.

@bangarharshit

This comment has been minimized.

Copy link

commented Nov 3, 2018

@xian I think this is not possible until this issue junit-team/junit5#201 is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.