Module Testing Windows Phone 7.1 Library

I am extremely new to developing Windows Phone, and I read, for example here , that there is no unit testing framework for Windows Phone applications.

It seemed strange to me, because, for example, if I have a class library with a bunch of classes that perform operations, I would create a unit testing project, add a class library link and unit test each class in the same way I always was.

So, I created a dummy Windows Phone class library with the MyClass class with the Add (int x, int y) method and added a link to a regular test project.

Interestingly, the link contains a warning sign, but tests run, fail, and fail accordingly.

So my questions are:

What is the real deal with unit testing Windows Phone code?
Why is there a warning sign in the test project for the Windows Phone class library link?

Thanks for your enlightenment :)

+3
source share
2 answers

unit test Windows Phone 7. , NUnit , , , Silverlight unit test Framework. , , , , (, WP7, , - ), , .

, , , WebRequest, , . , ...

+4

WP7. NUnit Moq Silverlight . NUnit Moq Windows Phone 7 , , http://toranbillups.com/blog/archive/2011/07/24/Test-Driving-My-Windows-Phone-7-App. , , - WP7.

!!

+5

All Articles