-
Notifications
You must be signed in to change notification settings - Fork 220
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
Could not complete execution for Gradle Test Executor: de.mannodermaus.android-junit5
#744
Comments
Hi, looks like you didn't complete the setup. Note that their setup guide says apply the plugin to the app module, Paparazzi doesn't work in app modules yet, and you're applying to a library. Also as far as I know that plugin is for instrumentation tests, is it necessary for running Jupiter tests in testDebugUnitTest? If none of these help, can you please provide a small repro project? |
Paparazzi currently doesn't support Junit 5. We're working on potentially supporting that after #282 lands, which is slated for the 1.4 release. |
Thanks for now we have created a separate module to host our Paparazzi screenshot tests. |
I was having the exact same issue when using this plugin, I managed to make it work without the need to have a different module by adding this 2 dependencies
|
I was stuck on this for some days now. Switching to Junit 4 helped. Maybe a hint or compatibility information should go into the readme |
Maybe a hint would be nice to link the issue to this plugin so the devs avoid some debugging time, but not sure it's Paparazzi's responsibility to provide this. In the plugin setup link as referred by @TWiStErRob there are some optional dependencies that should be added to also to run junit4 tests (the case of Paparazzi). |
I agree with @Yiran001: the fact that Paparazzi only supports JUnit 4 is only very implicitly "documented" by the fact that there's a transitive dependency and the fact that it's only provided entry point is a class extending |
Description
When applying the
de.mannodermaus.android-junit5
plugin the project breaks.Many Android project still rely on this plugin for other unit tests.
The version of the de.mannodermaus.android-junit5 plugin tested is:
1.8.2.1
Steps to Reproduce
Apply following diff to the sample project.
Expected behavior
The Paparazzi plug-in and the Junit5 plugin can live happily together.
Additional information:
Screenshots
n/a
Thanks in advance
The text was updated successfully, but these errors were encountered: