How to make NUnit stop executing tests on first failure

前端 未结 3 1391
自闭症患者
自闭症患者 2020-12-17 14:32

We use NUnit to execute integration tests. These tests are very time consuming. Often the only way to detect a failure is on a timeout.

I would like the tests to sto

3条回答
  •  独厮守ぢ
    2020-12-17 15:19

    Using nunit-console, you can achieve this by using the /stoponerror command line parameter.

    See here for the command line reference.

提交回复
热议问题