.NET Unit test runner for iOS

前端 未结 2 1876
太阳男子
太阳男子 2020-11-28 13:39

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 ?

My goal is to exec

相关标签:
2条回答
  • 2020-11-28 13:52

    I've wanted the same thing myself for quite some time. I think building one is the only option...

    Can't imagine porting this GUI to iOS:

    I think the only reasonable solution might be to show a simple UITableView on the device/simulator with test name and red/green checkmarks, and post the full NUnit results via http to server software somewhere.

    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.

    0 讨论(0)
  • 2020-11-28 14:00

    As promised here's my own solution for my problem :-) I hope it can help other people too!

    EDIT

    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.

    The original Touch.Unit was updated to include support for network logging (albeit not inside MonoDevelop).

    EDIT #2 : A similar runner now exists for Mono for Android.

    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.

    0 讨论(0)
提交回复
热议问题