Mockito 4
See original GitHub issueSuggested scope of Mockito 4
- ~Move Java version compatibility to 8+~ - implemented in Mockito 3
- Enable strict stubbing by default in JUnit4 test runners (#769)
- Remove all deprecated Mockito 2 classes (https://github.com/mockito/mockito/search?q=deprecated&unscoped_q=deprecated)
- Un-incubate (or promote) incubating features
- Write migration guide for existing users
- Write ErrorProne refactoring check that automatically moves all runners to
Silent
, so that companies can gradually upgrade.
- Write ErrorProne refactoring check that automatically moves all runners to
- Move Junit5 extension from subproject to core project.
Any comments or feedback?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:33 (26 by maintainers)
Top Results From Across the Web
Mockito framework site
Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn't...
Read more >Mockito (Mockito 4.9.0 API) - javadoc.io
The Mockito library enables mock creation, verification and stubbing. This javadoc content is also available on the https://site.mockito.org/ web page.
Read more >Releases · mockito/mockito - GitHub
Most popular Mocking framework for unit tests written in Java - Releases · mockito/mockito.
Read more >Mockito Tutorial - Baeldung
Learn how to work with the popular Java mocking library Mockito, for clean and readable unit tests. ... Mockito Tutorial. Last modified: December...
Read more >MockitoJava on Twitter: "We have just published Mockito 4.0.0 ...
We have just published Mockito 4.0.0 to Maven Central! ... Release v4.0.0 · mockito/mockito. Mockito 4: Removing deprecated APIs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would be great if static and final method mocking is provided out of the box. It’s easy enough to do this with powerMock but why add another dep just for that.
Please consider JUnit 5 Jupiter extensions alongside JUnit 4 test rules