About Me

Training

Develop With Passion® - Developer Bootcamp

Subscribe

Updated BDD Naming Macro

Written November 29, 2007 at 01:15 MST Tagged agile

After an awesome session pair programming with Scott the other day, I am going to start taking advantage of natural sentence style naming for not just my test method names, but the names of the test fixtures themselves.

The name of the fixture will now become the context for the tests inside of that fixture. It is actually surprising what level of detail this allows you to express yourself.

I had to change my test naming macro to support classes also. Here is the fix:

Develop With Passion