Tips, tricks and gotchas when writing unit tests with Mockito by Jesse Kershaw

Описание к видео Tips, tricks and gotchas when writing unit tests with Mockito by Jesse Kershaw

Mockito is synonymous with Unit Testing in Java and yet people often misuse features and write tests that are brittle and difficult to maintain. This talk aims to go over the common features of the mockito mocking library, common anti-patterns and better alternatives so that your tests are more understandable and easier to maintain. From how to create mocks and mock behaviour to how to inject mock beans in to a spring boot integration test context.

Комментарии

Информация по комментариям в разработке