NUnit 3: Forbid tests to run in parallel

前端 未结 2 1104
小鲜肉
小鲜肉 2021-02-02 12:45

I have the latest NUnit(3.2.0) installed and I have all my tests run in parallel. It might look like desirable behavior but I didn\'t ask for it and actually it broke some of my

2条回答
  •  别跟我提以往
    2021-02-02 13:48

    You can prevent tests from running in parallel by adding the [NonParallelizable] attribute, which can be added in test, class and assembly level.

提交回复
热议问题