Skip to content

Commit

Permalink
Add live output to verbose reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed May 2, 2024
1 parent 47644d5 commit ac36daf
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -5,6 +5,7 @@ public class VerboseReporterMessageHandler : DefaultRunnerReporterWithTypesMessa
public VerboseReporterMessageHandler(IRunnerLogger logger)
: base(logger)
{
Execution.TestOutputEvent += args => Logger.LogMessage(" {0} [OUTPUT] {1}", Escape(args.Message.Test.DisplayName), Escape(args.Message.Output.TrimEnd('\r', '\n')));
Execution.TestStartingEvent += args => Logger.LogMessage(" {0} [STARTING]", Escape(args.Message.Test.DisplayName));
Execution.TestFinishedEvent += args => Logger.LogMessage(" {0} [FINISHED] Time: {1}s", Escape(args.Message.Test.DisplayName), args.Message.ExecutionTime);
}
Expand Down

0 comments on commit ac36daf

Please sign in to comment.