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."
add remove programs.
This tool didn't work for me, and upset my tfs build server with some cryptic message
An exception occurred while invoking executor 'executor://statlighttestadapter/v1': VSShellManager.Shell is null. Could not initialize Shell reference
Parameter name: Shell
even on projects not in Silverlight.
Thankfully uninstalling it, fixed it.
received following message Test output and not able to run tests although its discovered in Test window.
Could not find test executor with URI 'executor://statlighttestadapter/v1'. Make sure that the test executor is installed and supports .net runtime version 4.0.30319.34003.
please suggest solution..
I have the same problem. Looks like that with references to Portable Libs that reference something like System.Xml.Serilization or System.ComponentModel.DataAnotation get this problem.
Check if you have any complits in the output window.
This is very difficult to resolve because there isn't many information in the output windows about what's going on. The plugin just don't find the tests or don't run the test and don't say why.
if you find more news on this, please reply.
Paulo Aboim Pinto
Odivelas - Portugal
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 188.8.131.52 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.