question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roadmap for Mockito.MockedStatic<T>

See original GitHub issue

Hello.

What is the current roadmap for Mockito.MockedStatic<T>?

Is it feature complete, or there are new features planned for it? Any other changes expected, before graduating?

How stable is the current implementation?

When is it expected for it to graduate out of incubation? Will it ever?

What work should be done and in general what else needs to happen to reach that? Maybe the community can help with that work.

Thanks a lot for your open-source contributions! –Vasile


P.S. Don’t know if these questions should be answered by @raphw, who seems to be the author of Mockito.MockedStatic<T> based on github history, or somebody else.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TimvdLippecommented, Sep 27, 2021

Yeah I will prepare a PR this week to promote all incubating APIs to stable, included in Mockito 4.0.

1reaction
raphwcommented, Sep 24, 2021

I’d say weeks, but the decision seems pretty solid so I would not worry about the annotation still being present.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MockedStatic (Mockito 4.9.0 API) - javadoc.io
Represents an active mock of a type's static methods. The mocking only affects the thread on which this static mock was created and...
Read more >
Mocking Static Methods With Mockito - Baeldung
This method returns a MockedStatic object for our type, which is a scoped mock object. Therefore, in our unit test above, the utilities...
Read more >
Mock Static Classes, Methods, and Properties | Telerik JustMock
JustMock allow software developers to mock static classes and calls to static members like methods and properties, set expectations and verify results.
Read more >
Mocking Static Methods With Mockito: Explained With Examples
Nowadays, using Mockito to mock static methods is very easy. First, make sure to import the org.mockito.MockedStatic; namespace. When declaring ...
Read more >
Mockito.mockedStatic for method with arguments
Edit - Mockito 3.7.7. Mockito 3.7.7 unified order of verify parameters (Issue #2173). Updated code: try (MockedStatic<Foo> dummyStatic ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found