I updated to Visual Studio 2022 recently (currently on version 17.1.6 on Windows 10) which has as a feature that it will show Standard Output or Console.WriteLine output in the Test Detail Summary. See Tips and Tricks - What's new in Visual Studio 2022 for Testing, which has this segment at 2:58


Unfortunately when I am running tests via Test Explorer I am not getting that Standard Output section of the test summary. Is there a setting or an update I need to enable that feature?
I suppose I am basically asking how to do the opposite of what this question is asking: VS - Test Detail Summary Standard Output
Unfortunately I haven't found a way to display the Standard Output section in the test results without a third party dependency. However if you are using
XUnit, you can add a reference toXUnit.Abstractions, which supports anITestOutputHelper. Using your OutputHelper you can write values directly to that Standard Output using itsWriteLinemethod.