Testing the Silverlight module (using NUnit)

I use NUnit for back-end testing. Unit tests are performed during construction (I use TeamCity for continuous construction).

Now I want to test the interface (Silverlight 4.0). Since the tests are performed during the build, I have to simulate a browser (TypeMock is not free, right?) I could somehow use NUnit.Mocks ?. How to use NUnit testing for Silverlight? I found a WHITE framework if this helps?

Any other recommendations on using software / frameworks for testing Silverlight modules?

+3
source share
2 answers

Check StatLight ...

"StatLight is a tool designed to automate the installation, launch, and collection of Silverlight unit test results. StatLight helps speed up the feedback loop by using TDD / BDD / (insert your test style here) during the development of Silverlight."

http://statlight.net/

+4
source

Alternatively, here is the nUnit port for Silverlight:

http://greenicicleblog.com/2010/04/27/nunit-for-silverlight-updated/

+1
source

Source: https://habr.com/ru/post/1745059/


All Articles