Configuring the NUnit command line to run MonoTouch tests

前端 未结 2 443
無奈伤痛
無奈伤痛 2021-01-24 16:46

I\'ve got a unit test in my MonoTouch project that I can\'t run from inside MonoDevelop -- it fails with \"Unix transport error.\" Poking around on the web it looks like that\'s

2条回答
  •  一个人的身影
    2021-01-24 17:47

    set $MONO_PATH to the nunit library to be able to run nunit-console. On my machine, the $MONO_PATH declaration is (in my .profile file):

    MONO_PATH='/Applications/Beta/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/:$MONO_PATH'

提交回复
热议问题