how to specify the platform (android or ios) test with nunit console

自作多情 提交于 2019-12-11 14:05:01

问题


I have a xamarin ui test multiplateform project, I would like to know if I launch my test via the console it is possible to launch only ios or android tests. For if it launches the two ... my current command line is :

mono /Users/Shared/opt/NUnit/nunit3-console.exe /Users/Shared/Jenkins/Home/workspace/build_project/UITest/bin/Debug/UITest.dll

Thank's for your help


回答1:


I find the solution, I need to add --test="UITest.Tests(my_platform)" to select either iOS or Android!



来源:https://stackoverflow.com/questions/52699329/how-to-specify-the-platform-android-or-ios-test-with-nunit-console

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!