Coder Social home page Coder Social logo

Comments (5)

srawlins avatar srawlins commented on July 20, 2024

WDYT @TedSander @matanlurey

from mockito.

matanlurey avatar matanlurey commented on July 20, 2024

I like it

from mockito.

TedSander avatar TedSander commented on July 20, 2024

SGTM

from mockito.

srawlins avatar srawlins commented on July 20, 2024

Small change of plans. The same-semantics wrapper version has to be a 3.0.0-something release 😒 : Since Flutter and other codebases have now moved to the 3.0.0-alpha-X releases, they are enforcing some new constraints that we don't want to lose. And we can't submit breaking changes to 2.3.0. So instead, I propose:

  • 3.0.0-beta (was 2.3.0) - Basically Mockito 3.0.0-alpha+3, but with the same-semantics wrapper for Mockito 3 final compatibility. So it gets stuff like anyNamed and captureAnyNamed. If need be, we can also release 3.0.0-beta+2, +3, etc.
  • 3.0.0-beta+100 (to be 3.0 final) - This is the beta version of Mockito, with the rules as spelled out above (any is not allowed as a named arg, etc). We can release 3.0.0-beta+101, +102, etc.

As advertised above, teams can take the following steps:

  • Bump from Mockio 2 or 3.0.0-alpha+X to 3.0.0-beta, which includes a forwards-and-backwards-compatible API.
  • Migrate code to stop using typed, and using any in a named arg, etc.
  • Bump to Mockito 3.0.0-beta+100, or Mockito 3.0.0 if released.

from mockito.

srawlins avatar srawlins commented on July 20, 2024

Closing with the release of Mockito 3.0.0-alpha+4.

from mockito.

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.