Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to run plugin tests (plugin:check) #316

Open
oradkovsky opened this issue Dec 1, 2022 · 0 comments
Open

How to run plugin tests (plugin:check) #316

oradkovsky opened this issue Dec 1, 2022 · 0 comments

Comments

@oradkovsky
Copy link

Hello! I'm unable to run groovy tests for :plugin. The following ./gradlew plugin:check is getting me failure on all 3 tests


com.facebook.testing.screenshot.build.ScreenshotsPluginTest > Ensure tasks added FAILED
    org.gradle.api.internal.plugins.PluginApplicationException at ScreenshotsPluginTest.groovy:43
        Caused by: org.gradle.api.plugins.PluginInstantiationException at ScreenshotsPluginTest.groovy:43
            Caused by: org.gradle.internal.service.ServiceCreationException at ScreenshotsPluginTest.groovy:43

com.facebook.testing.screenshot.build.ScreenshotsPluginTest > Ensure core dependency added FAILED
    org.gradle.api.internal.plugins.PluginApplicationException at ScreenshotsPluginTest.groovy:43
        Caused by: org.gradle.api.plugins.PluginInstantiationException at ScreenshotsPluginTest.groovy:43
            Caused by: org.gradle.internal.service.ServiceCreationException at ScreenshotsPluginTest.groovy:43

com.facebook.testing.screenshot.build.ScreenshotsPluginTest > Ensure core dependency not added when requested FAILED
    org.gradle.api.internal.plugins.PluginApplicationException at ScreenshotsPluginTest.groovy:43
        Caused by: org.gradle.api.plugins.PluginInstantiationException at ScreenshotsPluginTest.groovy:43
            Caused by: org.gradle.internal.service.ServiceCreationException at ScreenshotsPluginTest.groovy:43

3 tests completed, 3 failed

I feel like I'm doing something wrong - please advise how to make them pass and what am I missing. Thanks!

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

No branches or pull requests

1 participant