Tag: Unit Testing (22 / 25)

Three Reasons Why We Should Not Use Inheritance In Our Tests

When we write automated tests (either unit or integration tests) for our application, we should notice pretty soon that Many test cases use the same configuration which creates duplicate code. Building objects used in our tests creates duplicates code. Writing assertions creates duplicate code. The first thing that comes to mind is to eliminate the […] Read More about Three Reasons Why We Should Not Use Inheritance In Our Tests

Why I Write Tests?

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 about Why I Write Tests?

My Favorite Blog Posts of 2013

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 about My Favorite Blog Posts of 2013

Adding Social Sign In to a Spring MVC Web Application: Unit Testing

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 about Adding Social Sign In to a Spring MVC Web Application: Unit Testing

Get practical tips and tutorials on test automation, Spring, and software development in your inbox. You’ll also never miss a new blog post. You can unsubscribe at any time.

My privacy policy identifies the information which I collect if you subscribe my email newsletter and describes how I use the collected information.