Home

Parameterized unit tests with JUnit5

JUnit5 brings joy to the world of testing, and the category of parameterized tests is no exception.All the limited and somewhat cumbersome way of developing unit tests with the previous version, has

Parameterized unit tests with JUnit 4

If you are a governed by conscience developer, you write tests, period. As any piece of code, well written tests should be clear, concise, easy to maintain and actually test something. As everything

Prototype Pattern

Whenever object instantiation implies a high computational cost or an uncertain availability of data, we should consider the possibility of cloning, as it may be cheaper than creating brand new insta