I write software which is used to manage sensitive information. It doesn't really matter what kind of information my software deals with. The only things that matters are Only authorized persons can access that information. The information must be correct at all times. Also, often the first requirement is a lot more important than the […] Read more
Unit Testing
I have been planning to write a Spring testing book for some time now. About a month ago I tried to create a table of contents for the book. I failed miserably. The problem was that although I know what should be in the book, I found it hard to write my thoughts down. I […] Read more
Yesterday I published a list of my most popular blog posts which were published in 2013. I also promised to choose the "best" blog posts of 2013 and publish that list in my blog. Selecting my favorite blog posts was much harder than I imagined. I also realized that my personal favorites aren't necessarily my […] Read more
Spring Social 1.0 has a spring-social-test module which provides support for testing Connect implementations and API bindings. This module was removed from Spring Social 1.1.0, and it was replaced with the Spring MVC Test framework. The problem is that there is practically no information about writing unit tests for an application which uses Spring Social […] Read more
Assertions are an essential part of our unit tests. And yet, it so easy to neglect them. That is a shame because if we overlook the importance of assertions, the assert section of our tests becomes long and messy. Sadly, most tests which I have seen (and written) suffer from this problem. This blog post […] Read more
Each week I write a blog post which describes what I learned that week. I write these blog posts for two reasons. First, I want to keep track of my personal development and writing regular blog posts is a great way to do it. Second, I want to share my findings with you. I hope […] Read more