适用于iOS的.NET单元测试运行器 [英] .NET Unit test runner for iOS
问题描述
是否有人编写(或了解).net单元测试运行器,首选 NUnit ,在 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插件,为远程NUnit跑步者提供API以发送数据。这不是一项微不足道的任务。
Sounds like you'd have to write a MonoDevelop add-in that serves up an API for remote NUnit runners to send data to. Not really a trivial task.
original 触摸。单元已更新,包括对网络日志记录的支持(虽然不在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单元测试运行器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!