Code With Arho
Code With Arho
Articles
Tutorials
JUnit 5
Spring Boot Testing
Book Reviews
About
Light
Dark
Automatic
Articles
Testing Web Controllers With Spring Boot @WebMvcTest
Spring Boot web controllers have a lot of responsibilities. Learn how to test those responsibilities using @WebMvcTest.
Arho Huttunen
Last updated on Sep 23, 2023
9 min read
Spring Boot
Spring Boot Unit Testing
It takes time to learn how to write good unit tests. Learn how to write unit tests for Spring Boot applications.
Arho Huttunen
Last updated on Jan 16, 2023
7 min read
Spring Boot
JUnit 5 Nested Tests: Grouping Related Tests Together
Learn how to write JUnit 5 nested tests. Learn how to provide a hierarchical structure to describe relationships between the tests.
Arho Huttunen
Last updated on Feb 7, 2023
11 min read
Java
How to Make Your Tests Readable
In this article, we will learn different ways to improve test readability. Tests document how the system should behave. They also act as self-verifying executable specifications.
Arho Huttunen
Last updated on Apr 20, 2023
13 min read
Software Craft
How to Create a Test Data Builder
Learn how to use the test data builder pattern to make it easy to create objects for tests. Learn how to reduce boilerplate code with Lombok.
Arho Huttunen
Last updated on Jan 17, 2023
12 min read
Software Craft
DRY and DAMP in Tests
What are the DRY and DAMP principles? Why do people consider DRY and DAMP in tests contradictory and how can we achieve both?
Arho Huttunen
Last updated on Jan 17, 2023
8 min read
Software Craft
How Do I Test Private Methods?
What is the best way to test private methods? Should I use some library or use reflection? Can I just make the method public?
Arho Huttunen
Last updated on Jan 17, 2023
4 min read
Software Craft
Four No Bullshit Ways to Easily Increase Your Programming Productivity
Deepen your skills, automate repetitive tasks, shorten your feedback loops, and code less to achieve greater productivity.
Arho Huttunen
Last updated on Jan 15, 2023
7 min read
Productivity
Seven Useful Time Management Tips For Developers to Boost Productivity
Seven tips to take control of your time, reduce distractions, allocate time for your productive work, and feel less stressed.
Arho Huttunen
Last updated on Jan 16, 2023
9 min read
Productivity
Using Mockito With JUnit 5
Learn how to use the Mockito mocking framework with JUnit 5. Learn both the test framework independent way, and using the Mockito JUnit 5 extension.
Arho Huttunen
Last updated on Mar 7, 2023
4 min read
Java
«
»