排序
Docker in JUnit tests
Docker in JUnit tests, Unit testing in Java is made simple by libraries such as JUnit and e.g. Mockito, but there’s not the same panacea for integration testing. Alongside your mo...
The Evolution of Assertions in Java Tests
The Evolution of Assertions in Java Tests,As a developer, I certainly qualify as a testing freak. I absolutely love automated tests that produce meaningful output. Today, I want to...
The seven rules for continuous UnitTest
The seven rules for continuous UnitTest, Introduction Do you write UnitTest on your project? Are UnitTests ran every time? I completely thought it's same thing to write UnitTest an...
How do you write “Production Code” for UnitTest?
How do you write 'Production Code' for UnitTest?, Introduction UnitTest is very important for keeping code quality. So almost project require to write UnitTest. As a result, I will...
Why You Should Start Using JUnit 5
Why You Should Start Using JUnit 5,This is a cross-posting of an article published on my blog which you can find here. What is JUnit 5? According to its website, JUnit 5 is the nex...
In-memory database tests with Querydsl
In-memory database tests with Querydsl,Writing tests is an important skill of a software engineer. I used to write lots of very focused, narrow unit tests. However, I often found s...
Introduction to Unit Testing with Java
Introduction to Unit Testing with Java,_Cover image by [Hans-Peter Gauster](https://unsplash.com/@sloppyperfectionist) on [Unsplash](https://unsplash.com/)_ We all have been there:...
Time Machine for Java
Time Machine for Java,This article describes a tool developed to support unit-testing of time-dependent logic in Java applications. The tool helps control the quality of trading pl...
Testing legacy code, part 2: Bending the rules
Testing legacy code, part 2: Bending the rules,So, you decided to add some tests to your ugly looking code. You have prepared the test scenarios you would like to test. You are sta...
Testing legacy code, part 1: How to start
Testing legacy code, part 1: How to start,I am starting this miniseries which is a continuation of my previous article on why I think legacy codebase should be tested. I will be mo...
automation test engineers and OOP
automation test engineers and OOP,My fellow test engineers need to re-read OOP principles and understand their value and really start using them. E.g. they write - class Epic { Typ...
Assertions considered Harmful
Assertions considered Harmful,Assertions are the go-to checking mechanism in unit tests. However, when applied to testing interfaces, specifically GUIs, I consider them to be toxic...