How to execute NUnit test cases from command prompt

前端 未结 6 1571
难免孤独
难免孤独 2021-02-07 00:30

How can I execute a test case from Command Console using NUnit? I had set of Selenium Tests written in C# based on NUnit framework. I need to execute the test cases simply by ru

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-07 00:58

    Visual Studio: 2017, 2019(Preview) On Mac use below command:

    nunit-console //bin/Debug/.dll
    

    For example:

    nunit-console /Users/pratik/Projects/selenium-mac13/selenium-test/bin/Debug/selenium-test.dll

提交回复
热议问题