You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Silly question (for the life of me, couldn't find definitive answer reading through other issues).
Setting <VSTestLogger> property in csproj file only has effect with dotnet test, not by running tests in visual studio.
Placing corresponding LoggerRunSettings into .runsettings file applies to both cases.
Is there a way to supply a logger via some msbuild property, that is respected when running tests in VS?
Sometimes when test fails while running in VS - i see Open log file link that takes me to the failure - looking for this ability to provide custom path/logger
Using xunit 2.9.0 and xunit.runner.visualstudio 3.0.1.
The text was updated successfully, but these errors were encountered:
Note:
When using xUnit.v3 package.
It need to specify following settings to disable MTP and use VSTest. <DisableTestingPlatformServerCapability>true</DisableTestingPlatformServerCapability>
Good idea, @filzrev , i'll give it a go. @bradwilson , got it. so is it fair to say there's no way to customize logger for visualstudio.xunit (apart from runsettings)?
P. S. VSTestLogger seems to fairly used (according to my github code search), and since this package is a vstest adapter for xunit, i was assuming it'll be supported. Clearly the wrong assumption, thanks for clarifying
Silly question (for the life of me, couldn't find definitive answer reading through other issues).
Setting
<VSTestLogger>
property in csproj file only has effect withdotnet test
, not by running tests in visual studio.Placing corresponding
LoggerRunSettings
into.runsettings
file applies to both cases.Is there a way to supply a logger via some msbuild property, that is respected when running tests in VS?
Sometimes when test fails while running in VS - i see
Open log file
link that takes me to the failure - looking for this ability to provide custom path/loggerUsing
xunit 2.9.0
andxunit.runner.visualstudio 3.0.1
.The text was updated successfully, but these errors were encountered: