chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Please give the steps to test a silverlight application :( .Do i require Nunit for testing silverlight?Plz help me
asked by ksanketrao (680 points)

5 Answers

0 votes
Hello,

Have you looked at <a href="http://cthru.codeplex.com/">SilverUnit</a>? It's our framework, based on Isolator, for unit testing Silverlight.

Is there a specific problem you're having?
answered by igal (5.7k points)
0 votes
Hi Igal,Thanks for a prompt reply and the link.But after downloading the example given in the link, i am not able to understand to execute that code code :( ..ControlTests_vs2010.cs is a class library..so what is the expected output and how to execute it?..Plz help me in this
answered by ksanketrao (680 points)
0 votes
Hi ksanketrao,

That project is a test project, and offers examples for NUnit unit tests using SilverUnit. It should be executed through a unit test runner, such as nunit-console, TestDriven.NET, or Resharper's runner. Do you need help getting started with that?

Thanks,
Doron
Typemock Support
answered by igal (5.7k points)
0 votes
Hi Igal,
I want to test Silverlight Applications using TypeMock.Can you please share some examples so that i can get started.I had some basic doubts,if you can answer that will be really helpful,like

Q1.Is the testing of Silverlight application and a normal Web application(.aspx pages) same?

Q2.Do i need to install a different version of TypeMock to test silverlight and normal application?
Plz reply ASAP as i need to give presenation regarding the typemock
answered by ksanketrao (680 points)
0 votes
ksanketrao,

Typemock in conjunction with its open source add-on, SilverUnit, enable unit testing Silverlight applications. You don't need SilverUnit to unit test ASP.NET applications, and for that Isolator alone would work fine (I would recommend also checking out our ASP.NET add-in, Ivonna, as it simplifies much of the work with ASP.NET unit testing). SilverUnit comes with the normal Isolator installation, so you don't need anything else.

To learn more, you should check out these resources:
- Getting started with Isolator: http://docs.typemock.com/isolator/##typemock.chm/Documentation/FirstCSWalkThrough.html
- Getting started with SilverUnit: http://cthru.codeplex.com/wikipage?titl ... 20examples
- The Isolator and SilverUnit examples installed with Isolator

Hope this helps!
Doron
Typemock Support
answered by doron (17.2k points)
...