File tree Expand file tree Collapse file tree
src/Platform/Microsoft.Testing.Platform/OutputDevice Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,9 +123,12 @@ public Task InitializeAsync()
123123 bool noAnsi = _commandLineOptions . IsOptionSet ( TerminalTestReporterCommandLineOptionsProvider . NoAnsiOption ) ;
124124 bool noProgress = _commandLineOptions . IsOptionSet ( TerminalTestReporterCommandLineOptionsProvider . NoProgressOption ) ;
125125
126- // IsHotReloadEnabled is not set to true here, even if the session will be HotReload,
126+ // _runtimeFeature. IsHotReloadEnabled is not set to true here, even if the session will be HotReload,
127127 // we need to postpone that decision until the first test result.
128- Func < bool > showPassed = ( ) => _runtimeFeature . IsHotReloadEnabled ;
128+ //
129+ // This works but is NOT USED, we prefer to have the same experience of not showing passed tests in hotReload mode as in normal mode.
130+ // Func<bool> showPassed = () => _runtimeFeature.IsHotReloadEnabled;
131+ Func < bool > showPassed = ( ) => false ;
129132 bool outputOption = _commandLineOptions . TryGetOptionArgumentList ( TerminalTestReporterCommandLineOptionsProvider . OutputOption , out string [ ] ? arguments ) ;
130133 if ( outputOption && arguments ? . Length > 0 && TerminalTestReporterCommandLineOptionsProvider . OutputOptionDetailedArgument . Equals ( arguments [ 0 ] , StringComparison . OrdinalIgnoreCase ) )
131134 {
You can’t perform that action at this time.
0 commit comments