Intellij在/tmp/idea_test_*.out中生成单元测试日志输出文件,其前缀为NORMAL_OUTPUT [英] Intellij produces unit test log output files in /tmp/idea_test_*.out, prefixed by NORMAL_OUTPUT

查看:749
本文介绍了Intellij在/tmp/idea_test_*.out中生成单元测试日志输出文件,其前缀为NORMAL_OUTPUT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当在Intellij(org.junit.Test)中运行单元测试时,都会生成格式为/tmp/idea_test_*.out的文件,其中包含一些日志输出,该输出看起来类似于由测试产生的日志条目,但看起来每行都有前缀"NORMAL_OUTPUT".我已经弄乱了代码库,尽管存储库中似乎没有字符串"NORMAL_OUTPUT"或字符串"idea_test",但我怀疑有些插件或设置我找不到.有谁知道可能是什么原因造成的?

Whenever a run a unit test in Intellij (org.junit.Test), a file of the form /tmp/idea_test_*.out is produced containing some log output that looks similar to log entries that are produced by the tests but seeming with each line prefixed by "NORMAL_OUTPUT". I've grepped the codebase and it seems that neither the string "NORMAL_OUTPUT", nor the string "idea_test" is present in the repository, though I suspect some plugin or setting that I can't yet find. Does anyone have an idea what could be causing this?

我检查了Run/Debug Configurations > Logs > Save console output to file中指定的日志输出位置.未设置此设置.

I checked the log output location specified in Run/Debug Configurations > Logs > Save console output to file. This setting is not set.

推荐答案

这些文件由

These files are created by this code and are normally deleted automatically here. This is entirely part of IntelliJ IDEA's normal functioning; it is not controlled by any setting or plugin.

这篇关于Intellij在/tmp/idea_test_*.out中生成单元测试日志输出文件,其前缀为NORMAL_OUTPUT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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