Schlagwort-Archive: java

How to Write a JUnit 5 Unit Test: Dos and Don’ts

JUnit 5, the latest version of the popular Java testing framework, introduces several powerful features and improvements over its predecessors. Writing effective unit tests in JUnit 5 can significantly enhance the quality and maintainability of your codebase. This article explores the essential dos and don’ts of writing JUnit 5 unit tests, providing practical examples to illustrate best practices.

How to Write a JUnit 5 Unit Test: Dos and Don’ts weiterlesen

Your favorite Java collection is slow!

A little history

Java collection framework is an object oriented framework for dealing with data vectors. It started with JDK 1.2 and is today is very popular. There are well-known Collection classes like

Your favorite Java collection is slow! weiterlesen