Paweł Chudzik 7/25/2017

Introducing springmock

Read Original

The article introduces the springmock library, which solves the issue of being forced to use Mockito for mocking in Spring Boot integration tests when using the Spock testing framework. It allows developers to inject Spock mocks (or Mockito mocks) directly into Spock Specification classes using annotations like @AutowiredMock and @AutowiredSpy, reducing boilerplate code and improving the testing experience for Spock users.

Introducing springmock

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser