Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

06 Sep 2008

More on choosing names for tests

Choosing names with the technique i presented yesterday leads to at least one class per method. To tackle that explosion of classes i have made two decisions:

  1. Add a folder for each tested class, this way all the Whening classes are grouped.
  2. Create a single WhenUsing class to group simple test methods.

Here is a screenshot to clarify the changes:

screenshot of visual studio displaying new approach for test naming