I have never used a silverlight unit test project template. I used nunit for unit testing in silverlight. So, I will leave it for someone else to answer. As for your other questions:
Testing your device should guide your design. Your unit tests are the first users of your code. Your code is based on some expectations and unit tests that confirm that expectations are fulfilled. Using the MVVM pattern (when using Silverlight) facilitates unit testing. The most important thing to remember is that you need to write test code. And in order to write test code, the most important thing to remember is to introduce dependencies. For example, if your code makes a call in db. You cannot perform a unit test calling a database. Instead, you will mock the level of data access. Ideas such as layouts and stubs appear here. I use moq for bullying in my sivlerlight unit tests. Another important thing that I follow, which, in my opinion, facilitates unit testing, is the principle of shared responsibility. Finally, treat your test code as production code, otherwise your tests may give you a false impression that expectations are being met. Your unit tests are code and therefore may have errors.
What are the differences between unit tests and automatic unit tests?
I'm not very sure what you mean by that. Unit tests are an automated method for testing white boxes. You may have scripts that run all unit tests every time you check some code in the repository. This may be part of continuous integration.
How I mean unit test in Silverlight
In Silverlight, to facilitate testing, you should use commands instead of writing code in code files. This allows you to simulate button clicks and other GUI events during unit testing. Using the MVVM template along with commands, you can test all C # code (not xaml), up to the UI (converter, virtual machines, etc.).
It is very difficult to mention everything in this one answer. I would suggest you google for MVVM, the commands in Silverlight, Martin fowler - mock are not stubs, mocking frameworks for silverlight, dependency injection
source share