The Problem: You Are Tired of CamelCase

Convention says that the test function names should indicate what the test function actually tests. As a result, they tend to be relatively verbose, even more so than Java normally gets. A test function with 6+ words chained together is far from unusual.

Java has strict rules on method names. That, coupled with standard Java conventions, means that test functions wind up beingChainedTogetherUsingCamelCase().

This is quick, easy, but not particularly readable. That is especially true if non-programmers are going to be reading test output: dedicated QA staff, managers, etc.


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.