This post originated from an RSS feed registered with .NET Buzz
by Mark Levison.
Original Post: Test Driven Development with WinForms
Feed Title: Mark Levison
Feed URL: /WebLog/error.aspx?aspxerrorpath=/WebLog/mlevison/Rss.aspx
Feed Description: Musings on No Touch Deployment, .NET development and photography
As a TDD'er I'm constantly stumbling over the lack of support from MS for testing WinForms code. In the GUI side of our application more than 40% (buried in dialogs, menus, etc) remains untested. The ASP .Net crowd have NUnitAsp (an NUnit addin) - a fast maturing tool. Those of us developing WinForms have only NUnitForms - a solid effort from Luke Maxon. While NUnitForms is improving, there are more than a few bugs and many gray areas.
Its time for MS to show their support for WinForms applications - either get some people who have a solid Win32/WinForms experience to contribute to NUnitForms or write a new library from ground up.
For example:
Test that the "open file ..." menu item displays a Modal dialog.
Test that a dialog saves changes when the user clicks ok.
I'm not taking this on myself because my Win32 skills are not that strong and because I'm stretched thin as it is.
BTW I logged this on Ladybug as FDBK16590. If you're doing WinForms development consider voting for it.
This Blog Hosted On: http://www.DotNetJunkies.com/