Simple unit testing for easily-annoyed people.
You create state-based unit tests (inputs, transform, outputs) in a little window next to your code. When you change the code, the tests re-run. When you move on to another function, so does Quick Test.
You don't:
- Create a test project.
- Make up names for tests.
You do:
- Test the code
Yeah, but it's better than not writing any unit tests at all.
Add-ins are managed in Visual Studio under "Tools", "Add-in Manager". Once you have installed QuickTest (see below), you will have to make sure it is enabled in this manager (make sure that it and Start are checked). And then you will need to close and reopen Visual Studio once or twice to get it to wake up. You will know that QuickTest is installed once there is a "Sync" menu item added to your "Tools" menu. Sorry for the hassle, but this is my first time writing a VS add-in.
- Load QuickTest.sln
- Build
- Run
QuickTestSetup\Debug\setup.exe
- Load QuickTest.sln
- Build
- Copy
QuickTestVS\bin\Debug\QuickTestVS.dll
,QuickTestVS\QuickTestVS.AddIn
, andQuickTestRunner\bin\Debug\QuickTestRunner.exe
to%USERPROFILE%\Documents\Visual Studio 2010\Addins
It's MIT. I still need to put that header on all the files.