Mockito
-
Enterprise Java
JUnit and Mockito cooperation
This time I want to make an overview of testing framework Mockito. Definitely this is one of the most popular…
Read More » -
Enterprise Java
Answering with Mockito
When you are writing unit tests, you must keep in mind to not have dependencies to external components. To avoid…
Read More » -
Enterprise Java
Mockito – Better error messages on NPE with globally configured SmartNull
Writing the Mockito reference card I had an opportunity to take a closer look at the less popular, but very…
Read More » -
Enterprise Java
Test-driving Builders with Mockito and Hamcrest
A lot of people asked me in the past if I test getters and setters (properties, attributes, etc). They also…
Read More » -
Enterprise Java
Mocks And Stubs – Understanding Test Doubles With Mockito
Introduction A common thing I come across is that teams using a mocking framework assume they are mocking. They are…
Read More » -
Enterprise Java
Beyond JUnit – Testing Frameworks alternatives
JUnit is the defacto Java unit testing framework, but there’s a couple of new (and not so new) frameworks out…
Read More »