Java Testing Weekly 25 / 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

  • Property-based testing in Java with JUnit-Quickcheck – Part 2: Generators describes how you can generate test data by creating custom generator and use this generator when you write property-based tests for your code.
  • Stubbing and Mocking in Java with the Spock Testing Framework is a very comprehensive post that provides an introduction to Spock Framework and explains how you create stubs and mocks with Spock Framework. The best thing about this post is that it covers advanced use cases as well. For example, it describes how you can manipulate method parameters and configure a response that depends from the method parameters of the stubbed method.
  • Testing with JGoTesting provides a quick introduction to JGoTesting. JGoTesting is a JUnit-compatible test framework that mimics the behavior of the Go's testing package.

The Really Valuable Stuff

It's Time to Update Your Dependencies

0 comments… add one

Leave a Reply