查看已删除的控制台输出 [英] View deleted console output

查看:123
本文介绍了查看已删除的控制台输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行多个Junit测试,在控制台中运行测试结果,并填充当前测试的日志。包含先前测试日志的日志文件将存储在哪里。在eclipse中有任何方法,我可以看到这样删除的日志。

I am running multiple Junit tests, running a test results in the console being cleared and populated with the log of the current test. Where will the log file containing the previous test logs be stored. Is there any way in eclipse, by which i can see such deleted logs.

推荐答案

尝试以下:


  • 打开您的运行配置

  • 选择 Common / li>
  • 标准输入和输出组中激活文件 / li>
  • 选择附加复选框

  • 运行配置

  • Open your Run configuration
  • Select the tab Common
  • In the Standard Input and Output group activate File and set a file
  • Select the Append Checkbox
  • Run your configuration

这样打印到控制台的所有内容也将被打印到该文件中。

That way everything which is printed to the console will also be printed into that file.

这篇关于查看已删除的控制台输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆