I have an old WinForm application written in .NET 2.0. The application doesn’t follow any pattern or layer pattern. My client now want to introduce unit testing Framework. As it is live application so it very risky to re-write the whole code again. What approach should i follow ?
Thanks in Advance
There’s a book I’ve seen recommended often on this exact subject, I haven’t read it but it seems appropriate for your problem, though I don’t know if the fact that it’s WinForms complicates this or not.
“Working Effectively with Legacy Code”
http://books.google.ie/books?id=CQlRAAAAMAAJ&q=dealing+with+legacy+code&dq=dealing+with+legacy+code&hl=en&ei=LnVXTrviCtSu8QPEwei0DA&sa=X&oi=book_result&ct=result&resnum=1&ved=0CC0Q6AEwAA