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
[2.4.0-M2] Function tests using testServer / Selenium Webdriver makes Guice blow up #3895
Comments
Can you test it with Java 7? |
Another straight forward fix is to add this to your "com.google.inject" % "guice" % "3.0" classifier "no_aop" |
testing with Java7 is going to be an issue : The code is full of stuff that is Java8 only. I'll apply your fix, and see if I can get a decent stacktrace. |
That shed some light : [error] Test CoolgamesRouterTest.testRoutes failed: java.lang.RuntimeException: com.google.inject.ProvisionException: Guice provision errors: I'll recheck : This is probably an error on my part, or the play.modules.enabled don't work. I'll reopen if this is really an issue with Play! |
Related question : Is it handy that I run Play from the master branch ? For testing etc ? |
Yes. |
Hi,
I'm trying to unit-test my new shiny 2.4.0-M2 app. That doesn't end well : I see Guice blowing up the moment the testServer() code starts to run. The application works fine outside the testscope.
The stacktrace is pretty much useless due to issue #3768
Any clues on how to proceed ? I can help debug this, since it's running on my devbox.
The text was updated successfully, but these errors were encountered: