I am working on a product that currently uses the Silverlight unit test framework to run unit tests. Using Spec explorer I have built a model and want to leverage some of the existing automations instead of writing brand new adaptor (directly hitting the
UI) using CodedUI or something along similar lines. However, I cannot include the library file “Microsoft.SpecExplorer.RunTime.Testing” and the associated components in the silverlight unit test project as spec explorer is compiled against .NET CLR and the
View-Models and Tests are compiled against Silverlight CLR. Is there a work around here or something I may be missing ?
Spec Explorer doesn't support using Silverlight as test case runtime yet. The runtime code needs to be tailored for adapting to the Silverlight, which has much more limited functionalities comparing to the normal .NET.
Unfortunately I don't see an easy workaround for the problem. What you can try is that, instead of generating test code from Spec Explorer and compiling them on Silverlight, writing a test runner interpreter which takes the exploration result file as input (.seexpl
file generated during exploration, which is essentially zipped XML files) and executes the testing sequences. It's not a trivial job.
I've created an item in our feature backlog and will evaluate it during out planning of next release. For further questions, please feel free to contact firstname.lastname@example.org.
Propuesto como respuestaYiming Caolunes, 05 de marzo de 2012 8:50
lunes, 05 de marzo de 2012 8:49
Microsoft está realizando una encuesta en línea para comprender su opinión del sitio web de Msdn. Si decide participar, se le presentará la encuesta en línea cuando abandone el sitio web de Msdn.