Quantcast
Channel: AssertJ Archives - Java Code Geeks
Viewing all articles
Browse latest Browse all 12

AssertJ’s SoftAssertions – do we need them?

$
0
0
One of the rules of writing good unit test is that it should fail for one reason, so unit test should test one logical concept. Sometime it is quite tough to have a single assertion per test. To follow the rule, we may have having multiple assertions per object in a single test. The problem ...

Viewing all articles
Browse latest Browse all 12

Trending Articles