在ReSharper中运行单元测试时,如果输出太长,则会出现此错误:
The output has reached the limit and was truncated.
To view the full output use 'Show Stack Trace in a new window' action.
ReSharper在2016年修复了这个问题.2,请参阅@Alexander Pacha的回答。
答案 0 :(得分:122)
答案 1 :(得分:41)
由于此帖子的反应,JetBrains fixed this 'feature'现在允许用户在ReSharper设置中对其进行配置:Tools > Unit Testing > Unit Test Output > Limit number of lines in output to xxx
。此修复程序已在ReSharper 2016.2中提供。