How to change the test run timeout?

Some of my test classes take more than a minute, and I cannot complete them because it cancels this:

Test run cancellation: test run time exceeded 60,000 milliseconds.

Is this configuration possible? I am using the latest versions:

  • Visual Studio for Mac
  • Xunit
  • xunit.runner.visualstudio
  • Microsoft.NET.Test.Sdk
+4
source share
1 answer

VS Test, which Visual Studio for Mac uses to run tests of the .NET Core Test project, supports the transfer of Visual Studio for Mac source code, it looks like this value is 60 seconds , unfortunately, hard-coded.

Visual Studio Mac , VS.

Visual Studio Mac GitHub, , .

+5

Source: https://habr.com/ru/post/1690774/


All Articles