Introduction to Mockito: Unit Testing Framework

Mockito is a Java-based mocking framework most preferred with the Junit testing framework. It internally uses Java Reflection and allows to create dummy objects of service.

Mockito is a very useful tool that simplifies the test case creation by creating mock/dummy object of external dependencies this dummy data will later apply with mocks into code under test.

Link: https://blog.joshsoftware.com/2020/05/27/introduction-to-mockito-unit-testing-framework/

原文链接:Introduction to Mockito: Unit Testing Framework

© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容