locked
Unit Testing in Silverlight RRS feed

  • Question

  • So i found a good tutorial on silverlight unit testing however it doesn't address issues like styles not being present when you instantiate a page, which throws an error and crashes the test am i supposed to setup a complete cloned environment like adding in the styles, service references, images, etc into the unit test project?

    Friday, January 14, 2011 10:11 AM

Answers

  • Hi,

    Usually, We use Unit test for logic code than View type.

    Unit tests could be designed to test loops, methods, properties, events, classes, and so on. For example, to test a class, you could write unit tests that set properties and call methods.

    Regards

    Sunday, January 16, 2011 1:37 AM