JUnit5でassertEqualsとassertAllの使い方はユースケさんの動画を参考に勉強した。 この動画の良いところは、必要な知識をシンプルに説明してくれて、intellij IDEAのショートカットキーが画面下に出てくるので知りたいことを苦労せずに一度で手に入れられる。
A set of assertion methods useful for writing tests. Only failed assertions are recorded. These methods can be used directly: Assert.assertEquals(...), however, they read better if they are referenced ...
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports in Java to make code more fluent in certain contexts. Unit testing in Java ...