
The Art of Unit Testing with Roy Osherove
Hanselminutes with Scott Hanselman
00:00
How to Write a BDD Style Naming Context
There are three parts to a test name. If you forget one, you know about it. It's structured enough so that beginners will always remember to write all these parts. Now BDD style naming and all that stuff, they all contain those same three parts. They just contain them in different structures. So if I was testing class storage and had a method save, then the test would be called save underscore object to large underscore calls logger, writes to log or something like that.
Play episode from 22:02
Transcript


