Git Product home page Git Product logo

Comments (11)

paulbutcher avatar paulbutcher commented on August 16, 2024

Apologies - I stopped building it when working on ScalaMock 2, which requires compiler plugin support and never got around to re-enabling it (blush).

It certainly won't work with compiler-generated mocks, but should still work with proxy mocks.

As you can see from the source the code is very simple, so you should be able to incorporate it into a project easily, even though there isn't a compiled version readily available.

I'll add getting it officially up and running again to my todo list.

from scalamock.

wsargent avatar wsargent commented on August 16, 2024

+1

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

I've just released ScalaMock 2.4 which includes Specs2 support.

Note that you might like to look at the preview release of ScalaMock3, which now includes Specs2 support.

from scalamock.

wsargent avatar wsargent commented on August 16, 2024

If I look at the scaladoc, on http://scalamock.org/api/index.html#org.scalamock.package

"In all cases, mix the relevant MockFactory trait into your test class. For ScalaTest use MockFactory, and for JUnit3 use MockFactory."

there's no reference to Specs2.

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

Ah - thanks for reminder - I'll add it.

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

Done

from scalamock.

wsargent avatar wsargent commented on August 16, 2024

Still seeing this: "In all cases, mix the relevant MockFactory trait into your test class. For ScalaTest use MockFactory, and for JUnit3 use MockFactory."

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

Sure your browser's not cacheing an out of date copy of the site?

from scalamock.

wsargent avatar wsargent commented on August 16, 2024

Works in Safari. Chrome is out of date. Odd.

from scalamock.

wsargent avatar wsargent commented on August 16, 2024

I'm not seeing 2.4 in the releases directory of any of the scala version:
https://oss.sonatype.org/content/repositories/releases/org/scalatest/

from scalamock.

paulbutcher avatar paulbutcher commented on August 16, 2024

That URL is for ScalaTest, not ScalaMock :-)

Try: https://oss.sonatype.org/content/repositories/releases/org/scalamock/

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.