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.
- A canonical XML test is a thought-provoking blog post that explains how you can get a lot of bang for your buck when you are writing tests for code that transforms information between two different “formats”.
- Docker Test Containers in Java Tests is a useful blog post that helps you get started with the TestContainers library.
- Is @SpringFramework @Autowired behavior different in a test class than in a @Component is actually a StackOverflow answer but I decided to showcase it here because it’s quite useful. This answer explains why autowiring by concrete type works when you run your tests but fails when you run your application.
The Really Valuable Stuff
- Testing on the Toilet: Only Verify Relevant Method Arguments is an excellent blog post which explains why you shouldn’t verify all method parameters in one test method.
- Unit tests versus the unit tested is a thought-provoking blog post that explains why it’s important to define the terms: unit tests, component tests, integration tests, and end-to-end tests.
It’s Time to Update Your Dependencies
No updates this week.