Learn to write tests which are easy to read and write: get started with Spock Framework.

Java Testing Weekly 35 / 2017

There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis.

Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them.

That is why I decided to create a newsletter that shares the best testing articles which I found during the last week.

Let’s get started.

Technical Stuff

My "Test With Spring" course helps you to write unit, integration, and end-to-end tests for Spring and Spring Boot Web Apps:

CHECK IT OUT >>

The Really Valuable Stuff

  • 5 ways to simplify your automated test cases is a very good post that provides five tips which help you to write simple and clean automated tests.
  • Unit Testing Anti-Pattern: Leaky Mocks and Data describes why it’s a bad idea to not clean up the dependencies of your unit tests, provides a few real-life examples of dangerous dependencies (mocks and data), and explains how you can solve these problems by changing the way you work.
  • My thoughts on who should create automation is an excellent blog post that doesn’t try to find the definitive answer to question: who should write automated tests? Instead, it argues that we should concentrate on helping people to write useful automated tests.
  • When do you cut your Losses? is a thought-provoking post that shares a story of a simple test that took four hours to write. Basically the author is trying to figure out when you should decide that you have wasted enough of your time and start doing something else.

It’s Time to Update Your Dependencies

About the Author

Petri Kainulainen is passionate about software development and continuous improvement. He is specialized in software development with the Spring Framework and is the author of Spring Data book.

About Petri Kainulainen →

0 comments… add one

Leave a Comment