NUnit与Windows Phone 7 [英] NUnit with Windows Phone 7

查看:78
本文介绍了NUnit与Windows Phone 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用NUnit对Windows Phone 7库进行单元测试.

I'd like to unit test my Windows Phone 7 libraries with NUnit.

是否存在与Windows Phone 7兼容的NUnit版本?

Is there a version of NUnit compatible with Windows Phone 7?

推荐答案

您还可以查看 http://unitdriven. codeplex.com -它是Silverlight和WP7单元测试框架/运行器,还具有用于nunit/mstest的附加DLL,因此您可以编写测试,并在.NET,Silverlight和WP7.

You might also look at http://unitdriven.codeplex.com - it is a Silverlight and WP7 unit test framework/runner, that also has an add-in DLL for nunit/mstest so you can write tests and have the same test code run in .NET, Silverlight and WP7.

只要您正在测试非异步行为,UnitDriven就可以与nunit兼容(我们将其构建为运行数百个预先存在的nunit测试).它确实有自己的异步测试模型-再次经过专门设计,因此相同的测试代码可以在.NET,SL和WP7中运行.

As long as you are testing non-async behaviors, UnitDriven is pretty compatible with nunit (we built it to run a few hundred pre-existing nunit tests). It does have its own model for async tests - again specifically designed so the same test code runs in .NET, SL and WP7.

这篇关于NUnit与Windows Phone 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆