简体   繁体   中英

unit testing windows phone application with sdk 7.1

I have troubles setting up unit test framework for windows phone sdk 7.1 there seems to be two possibilities: - proposed by Jeff Wilcox - to use NUnitTestRunner

in the first case I have the following error: "Cannot find a Resource with the Name/Key typeNameConverter". mister Internet suggests I redefine IValueConverters. If someone can upload a sample project that has couple of dummy tests and work on Emulator

in the second case. after applying Linux experience and building your own NUnitTestRunner.dll and applying it to your project, I still seem to have a black screen on my Emulator instead of the test-run. I used this walk-through to set it up

any help is appreciated. thanks a lot in advance!

AFAIK the updated assemblies provided by Jeff Wilcox on this blog - Updated Silverlight Unit Test Framework binaries–compatible with the Mango phone tools beta fixes up the error regarding the value converter.

I have a rather incomplete tests project you can view in Compiled Experience Phone Toolkit .

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM