I released five new sample lessons from my Test With Spring course: Introduction to Spock Framework

Java Testing Weekly 32 / 2016

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

  • JMockit Advanced Usage describes how you can solve advanced problems with JMockit. This post explains how you create fakes, mock private methods, and create a mock object that mocks more than one interface.
  • Spring Cloud Series – Integration Testing using Spring Boot, Postgres and Docker describes how you can write integration tests for your Spring Boot applications by using Postgres and Docker. The best part of this post is that it explains how you can pull the required Docker images, start the Docker container before your tests are invoked, and dispose it after all tests have been invoked.
  • Unit Test Anti-Pattern: Logic in Tests is a good blog post that describes why you shouldn’t add logic into your unit tests.

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

  • Learning from Errors is an interesting blog post that identifies three lessons the author learned by reading the book titled: Errors: bugs, boo-boos and blunders.
  • Logical Reasoning explains the logical reasoning process the author used when he analyzed road markings (a text) found at the entrance or exit of a car park. The road marking is quite interesting because the text can be read in two different ways (naturally I read it in the wrong way). In other words, I would have driven in the wrong direction.
  • Questions That Matter is an excellent blog post that describes how you can ask questions which help you to learn something from the answer. This is a crucial skill and I am a bit amused that some people ask useless questions only because it makes them look smart (especially on the internet).

It’s Time for Feedback

Because I want to make this newsletter worth your time, I am asking you to help me make it better.

P.S. If you want to make sure that you don’t ever miss Java Testing Weekly, you should subscribe my newsletter.

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 →

2 comments… add one
  • Thank you for interesting links.

    Reply
    • You are welcome.

      Reply

Leave a Comment