Clean test AAA principle

The basic structure of a AAA (arrange-act-assert) test is: prepare the system-under-test for the test (the arrange step) exercise the system-under-test, which causes side-effects that are observable (the act step) verify that the side-effects match our expectations (the assert step) Clean code principles dictate that methods be kept short. So how long is the perfect test if we apply clean code principles to testing? 3 lines long, or not much longer than that. [Read More]