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
Is it possible to use proxy mocks with generated mocks? #15
Comments
Sincere apologies @takezoe. I found and fixed this bug a while ago, but haven't yet released a version of ScalaMock that includes the fix :-( This is the commit that fixes the problem: You should be able to work around it by using 2.3-SNAPSHOT. I'll try to get an official 2.3 release out this weekend. Apologies once again. |
No problem. I'm looking forward to 2.3 :-) |
I've just released 2.3 - let me know if you still have problems |
Great! My all tests succeeded with ScalaMock 2.3 :-) |
The 2.3 release already includes support for Scala 2.9.2 - let me know if you experience any problems with this. |
Oh sorry, it worked with Scala 2.9.2 with no problem. Thanks for your work! |
My environment is Scala 2.9.1, sbt 0.11.2 and ScalaMock 2.2.
I want to use both of proxy mocks and generated mocks in the single project. So I configured my sbt project to enable compiler plugin. generate-mocks and tests which use generated mocks were successful. However I got the following error for tests which use proxy mocks. They had been successful before configuring my sbt project for generated mocks.
Here is my sbt project configuration:
When I rolled back my project configuration (which has only library dependency to scalamock-scalatest-support), tests which use proxy mocks is successful.
Is it possible to use proxy mocks and generated mocks in the single project?
The text was updated successfully, but these errors were encountered: