Test adapter for Visual Studio 2012 to integrate Silverlight Unit Tests, based on the Silverlight Unit Test project type from the Silverlight Toolkit, available using the native Test Explorer in Visual Studio 2012
Looks promising but it can take some effort to make it work.
Missing features: * make output from statlight visible in the output tab, this would be great for troubleshooting * make it possible to call statlight with "-x" (.xap file) parameter instead of the "-d" (dll-file) parameter: statlight worked fine with the -x paramter for us, but not with -d which is the way this plugin calls statlight. After much troubleshooting we found out that a 3rd party dll had a reference to a odata-dll (this was never an issue to us as the reference and associated functionality is never used so it works perfectly fine, except that it prevented us from using this plugin.
* It would be good if one could run tests without recompiling everything, I don't know if it is Visual Studio or the Silverlight Unit Test Adapter which trigger rebuild even when nothing has changes since the last time.
Hi, debugging is currently not supported, as it would be to time consuming to support the different browsers etc. Currently I did not investigate in it as there are some other leftovers. Just take a look at the limitations list on the description tab. "- "Debug Selected Test" option from Test Explorer is and cannot be supported. Technical limitation."
Hi! I'm trying to use the adapter to run some SL unit test from VS2012 Update 1. The test project is Silverlight 5 Unit Test Application that uses Microsoft.Silverlight.Testing and Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight (both 220.127.116.11 version). The project compiles fine, I can run test from IE, but Test Explorer doesn't discover any tests and VS Tests output window reports an error:
An exception occurred while test discoverer 'TestDiscoverer' was loading tests. Exception: VSShellMananger.OutputWindowPanel is null. Reference not found.
Parameter name: OutputWindowPanel
Also, when I open Extensions and Updates window, Silverlight Unit Test Adapter does not appear as being installed. However, when I find it in the Gallery and download MSI, it reports that the software is already installed (I get modify/repair/uninstall options). VS is installed in the default location (C:\Program Files (x86)\Microsoft Visual Studio 11.0).
Do you have any idea what's going wrong? Thanks for your help!
I'm currently a little bit busy, but I would say 90% finished with the SL4 support (except tests ;-(). In second december week I should find some time.
Sorry, to keep you waiting.
If your project is publicly available I could use it for tests - and would save some time ;-)
If you still Need Silverlight 4 Support, I could provide you a preview Version as this would also give me some Feedback if everything works as expected. Just write a mail to my <MSDNusername>@gmail.com then I can send you a preview.