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
- Blogs to follow if you are a tester provides a big list (over 50 blogs) of testing blogs which you should follow if you are interested in testing.
- Don’t let automation sabotage your BDD adoption identifies two mistakes that you can make when you are starting to do BDD and provides three tips that help you get the most out of BDD.
- How to improve your software testing skills by following Isaac Newton's strategies is an interesting post that explains how you can become a better tester by studying the work of other practitioners (not just experts) and publishing your own stuff. I think that this is a very good advice and it is valid even if you are interested in photography (for example).
- Improve Coding Productivity is a thought-provoking post that explains why you shouldn't become obsessed with things like code coverage and pay attention to testing (and other activities) that help you to increase the productivity of your team.
- Leadership in Unit Testing Implementation, Part I is the first part of a series that describes how managers can help developers to write unit tests. By the way, I think that this advice applies to integration and end-to-end tests as well.
- On crossing the bridge into unit testing land is a thought-provoking post which claims that testers should participate on writing unit tests. If you want to know why the author thinks that this would be useful, you have to read this blog post.