Skip to content

Commit 1f5a062

Browse files
committed
Report configuration warnings per xunit/xunit#1655
1 parent 2148496 commit 1f5a062

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/xunit.runner.visualstudio/VsTestRunner.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ bool DiscoverTestsInSource<TVisitor>(
262262
XunitProjectAssembly assembly)
263263
where TVisitor : IVsDiscoverySink, IDisposable
264264
{
265+
foreach (var warning in assembly.ConfigWarnings)
266+
logger.LogWarning("{0}", warning);
267+
265268
if (cancelled)
266269
return false;
267270

0 commit comments

Comments
 (0)