Edit and Continue with TestDriven.Net

February 11, 2011 | Unit Testing

TestDriven.Net (2.0 RTM and greater) comes with a (hidden) test runner for Edit and Continue.

To enabled it, edit the TestDriven.dll.config file and uncomment the lines with: <button command=“DebuggerEaC” />

Below are the places in the .config file where the command can be found, so you may choose which one of those you wish to uncomment:

After you restart Visual Studio you will have an additional option in the context menu:

Debugger (E&C) additional option is now available in the context menu

This test runner may 'touch' project files when used with source control (this is why it's disabled by default). You can also can read about it here.