Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to specify a run timeout with VSTest.Console?

Tags:

vstest

With MSTest.exe, you can specify a total timeout for a test run by setting the /TestSettings/Execution/Timeouts/@runTimeout attribute in a .testsettings file.

With VSTest.Console.exe, the .testsettings has been deprecated in favor of .runsettings, which apparently has a completely different schema (with, ahem, sparse documentation). I know that I can configure the .runsettings file to use legacy MSTest mode (thereby allowing me to use a .testsettings file), but I would prefer to avoid that if possible.

Is there a way to set a run timeout in the .runsettings file? Or is there a different way to get the same effect?

like image 845
Jimmy Avatar asked Oct 30 '14 21:10

Jimmy


Video Answer


1 Answers

Yes, there is. Please see RFC here: 0011-Test-Session-Timeout.md

like image 131
pvlakshm Avatar answered Sep 30 '22 13:09

pvlakshm