适用于 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 上运行测试)和一个 answer 说明缺少此类工具.
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.
原创 Touch.Unit 已更新,包括对 网络日志(虽然不在 MonoDevelop 中).
The original Touch.Unit was updated to include support for network logging (albeit not inside MonoDevelop).
EDIT #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屋!