BDD Test Naming Experiment
September 8th, 2008
Of course, I am not the first person to do this, but gosh, isn’t it cool?
This is the test suite from a project I am working on and I decided to move the BDD naming convention into the syntax:
(class name) + (method name) = behavioral sentence
This library has 100% code coverage and tests the sad path pretty well, in my opinion.
Click the image to get a bigger view.
What’s your opinion? Is this easy to read to understand intent? Does this document my code for the next developer? Or is it just too much?


