This is what you get by default when you ask Visual Studio 2008 to generate a new test:
Why is that so cluttered? Why is there a region that is filled with test-writing tutorial code? Why is there a member variable to track the test context? WHAT THE FUCK IS GOING ON????
*Ahem*. Yes. This is way too much code, is my point. I want to see two things when I generate a new test case:
- a test fixture (ie a class)
- an empty test(ie a method)
If you watched the video I linked previously, you’ll notice that they actually do meet these criteria. Which is good! It’s just too bad that they’re building the clumsiest interface possible over top of that.
(PS: Hilarious ironic factoid – I can’t upgrade to this newer, “better” test tool because I can’t install VS2012 because I still have Windows XP. Speaking of being the victim of Microsoft’s successes…)