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

  • A Guide to JUnit 5 Extensions describes how you create your own JUnit 5 extensions and register your custom extensions when you are writing tests with JUnit 5.
  • Catching up with Allure. Part 1: framework integration describes how you create a Maven build that uses TestNG and saves the test results of your automated tests (and some other info as well) to data files that are used to generate the actual test reports. Note that the reporting step is not described in this blog post.
  • Consumer-Driven Contracts with Pact-JS describes how you can implement a simple web application with React and specify a consumer-driven contract with Pact-JS.
  • Introducing JUnit 5, Part 2: JUnit 5 Vintage and the JUnit Jupiter Extension Model is an excellent blog post that starts by providing an introduction to the JUnit 5 Vintage and JUnit Jupiter extension models. After you are familiar with the basics, the author demonstrates how you can use these extension models when you write tests with JUnit 5. If you have time to read only blog post, it should be this one.
  • RESTful Integration Testing with WireMock in Java is a comprehensive blog post that describes how you can stub HTTP requests with Wiremock.
  • TestContainers: making Java integration tests easy provides an introduction to the TestContainers library, explains how you can use the default containers, and helps you to create your own custom container. After you are familiar with the basics, this blog post demonstrates how you can use the TestContainers library for testing a Java agent.
  • Writing Parameterized Tests With Spock Framework is a free sample lesson of my Test With Spring course. It explains why you should write parameterized tests and describes how you can write them by using Spock Framework.

The Really Valuable Stuff

It's Time to Update Your Dependencies

0 comments… add one

Leave a Reply