Open With TestNote : Only C# (.cs) files are currently supported.Recent News
For information about new releases check Matthew Manela's blog. View the source code at the OpenWithTest github repository. SummaryOpenWithTest is a Visual Studio extension which serves one simple task: To always open your test files and implementation files together. DetailsWhen writing unit tested applications (especially while practicing TDD) you will often open an implementation file (i.e SomeClass.cs) followed by the test file(i.e. SomeClassTests.cs). This extension makes this a one step process. It works by detecting when you open a new file and attempting to find via convention the test file. It assumes that you create one test file per class. So, if you create a class called Car in the file Car.cs then you will have a test file named CarTests.cs which tests the car class. Currently, only C# (.cs) files are support but I plan to expand this to other files types soon. Quick Enable/DisableSometimes you want the OpenWithTest functionality but other times you may not. As of version 0.4 you now have a easy toolbar button that makes turning this on and off quick. You can add the OpenWithTest toolbar by right clicking on the toolbar and selecting OpenWithTest. ConfigurationOut of the box, this extension will assume a file is a test file if it ends with the suffixTest,Tests, Fact or Facts. However, this can be configured. To change these go to Tools -> Options -> Open With Test and you will see this screen:
FeedbackI would love to get feedback about features or suggestion so please feel free to leave a comment on this blog post or start a discussion post onthis page.
|