unit testing integrated in Visual studio and msbuild
I would like to have unit testing integrated in Visual studio, just like other unit test projects. And not need a browser session for this. Also it enables msbuild unit testing
Eugene Tolmachev commented
Better support for async tests: http://devlicio.us/blogs/christopher_bennage/archive/2011/01/17/improving-asynchronous-tests-for-silverlight.aspx
Mark Heath commented
And code coverage support too
Jeff Circeo commented
mnikoo, i couldn't have said it better and if I could add all my votes I would.
LOB application development is becoming one of the major usage scenarios for Silverlight so we really need to have better support for (unit) testing out of the box. As other commenters wrote, other testing frameworks (such as the new support for SL in Coded UI tests) address a different concern and there is still a gap when it comes to unit testing.
How is "Testability" not a primary deliverable for all framework items? I guess i can understand letting it slip in beta or v1, but v4? Seriously?
Peter Gfader commented
This is very important for my team as well.
We get around by testing our ViewModels via linked files. Which is UGLY.
A Silverlight Test Framework not running in the browser would be awesome!
Andries Coetzee commented
Integrated Unit testing is a must for for my company. I'm forced to use other Frameworks because of this shortcoming.
I think the lack of built in unit test support sums up Microsoft warped sense of testing. Silverlight can not be taken seriously as a development platform until I can run thousnads of tests quickly (8 minutes is not quick). The main problem here is the Microsoft themselves dont know the difference between Unit, Integration and System testing.
Prashant Danda commented
Yes we need to make Silverlight Unit Test Cases written in MS Test be visible in the Test View window of Visual Studio 2010 and also automatically be added to the TFS build definitions...
I think they have that in the upcoming Silverlight Control Toolkit drop in April.
Joel McCormick commented
Code coverage would be fantastic to! Without coverage stats it's is almost impossible to properly keep track of how effective unit tests are.