I’m diving into unit testing and I would like to know if it is possible to test some special functionality of a dialog or a form with NUnit. I have tried NUnitForms, but it lacks good documentation and seems that nobody is mantaining that project. Is it true?
If you have any experience testing Windows Forms, please point me in the right way. Any comments or information are appreciated. Thank you!
I am having the same problem with NUnitForms. I can launch a form and click a button, but I can’t figure out how to get dialogs working, and I can’t find much about it at all.
I think this blog was the most useful:
http://blogs.msdn.com/john_daddamio/archive/2006/11/06/getting-started-with-nunitforms.aspx
I had to remap the NUnitForms assembly in my app.config to get it to work with the latest version like this:
( http://duncanjasmith.blogspot.com/2007/08/using-nunitforms-with-nunit-framework.html )
I’m hoping this thread will help me, but I might still try project white ( http://www.codeplex.com/white ).