Skip to content

Commit

Permalink
Report configuration warnings per xunit/xunit#1655
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Jan 20, 2024
1 parent 2148496 commit 1f5a062
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xunit.runner.visualstudio/VsTestRunner.cs
Expand Up @@ -262,6 +262,9 @@ static void PrintHeader(LoggerHelper loggerHelper)
XunitProjectAssembly assembly)
where TVisitor : IVsDiscoverySink, IDisposable
{
foreach (var warning in assembly.ConfigWarnings)
logger.LogWarning("{0}", warning);

if (cancelled)
return false;

Expand Down

0 comments on commit 1f5a062

Please sign in to comment.