Git Product home page Git Product logo

Comments (3)

paulbutcher avatar paulbutcher commented on August 16, 2024

This is another instance of the problem in #24. It turns out to be a can of worms related to referencing types in macros. See this conversation on scala-user for details:

https://groups.google.com/d/topic/scala-user/66jbw3gS9KY/discussion

As a short-term solution, I'm working on getting proxy (non-type-safe) mocks up and running (should be done in a few days). I'll then work on addressing the macro problem.

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

I've just checked in updates to reinstate proxy mocks, and pushed 3.1-SNAPSHOT to SonaType. I'd be grateful if you could try them out and let me know if you experience any problems.

I've not yet updated the documentation, but there are examples of how to use them here: https://github.com/paulbutcher/ScalaMock/tree/master/examples/src/test/scala/com/example/proxy

from scalamock.

dicarlo2 avatar dicarlo2 commented on August 16, 2024

Great! So far it seems to work fine with proxies, thanks for working on this. I'll be sure to let you know if I find any issues.

from scalamock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.