I have written MVC2 and MVC3 applications and used Unit Testing within Visual Studio 2008 and 2010. If I want to use Unit Testing with a Silverlight app. and its associated Out of Browser app., must it be built with the MVC design pattern? If I do not use MVC, I presume the code that gets unit tested would be the Data Acces Layer, for example. Please explain this.
Also, how would I use Unit Testing to test the GUI work?