问题描述
是否有人编写(或了解).net单元测试运行器,首选,在 iOS上运行?或者我必须自己滚动?
Has anyone written (or know about) a .net unit-test runner, preference to NUnit, that runs on iOS ? or do I have to roll my own ?
我的目标是在模拟器或设备上执行单元测试。到目前为止,我已经看到很多关于模仿monotouch.dll(但在PC上运行测试)和一个说明缺少这样的工具。
My goal is to execute the unit tests on the simulator or devices. So far I've seen quite a few posts / blogs on mocking monotouch.dll (but running the tests on a PC) and one answer stating the lack of such tool.
推荐答案
正如我所承诺的那样,我自己的问题:-)我希望它也可以帮助其他人!
As promised here's my own solution for my problem :-) I hope it can help other people too!
编辑
已更新,包括对(虽然不在MonoDevelop内)。
The original Touch.Unit was updated to include support for network logging (albeit not inside MonoDevelop).
编辑#2 :类似的跑步者适用于Android的Mono。
EDIT #2 : A similar runner now exists for Mono for Android.
最终编辑:Touch.Unit现在是MonoTouch的一个完整部分(从5.2版本开始)不必单独下载。
FINAL EDIT: Touch.Unit is now an integreal part of MonoTouch releases (starting with version 5.2) and does not have to be downloaded seperately.
这篇关于适用于iOS的.NET单元测试运行器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!