我如何通过cabal new-test流化测试结果? [英] How can I stream test results with cabal new-test?

查看:123
本文介绍了我如何通过cabal new-test流化测试结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用cabal test,您可以通过cabal test --show-details=streaming流式传输结果.

Using cabal test, you're able to stream results with cabal test --show-details=streaming.

我找不到与cabal new-test类似的选项.是否可以使用new-test流式传输结果?

I can't find a comparable option for cabal new-test. Is it possible to stream results using new-test?

推荐答案

一个小时前我自己就遇到了这个问题!

I just ran into this an hour ago myself!

new-test尚不支持--show-details标志: https://github. com/haskell/cabal/issues/4766

错误报告中的讨论表明,无论如何--show-details都是不正确的功能,应该总是流式传输.

The discussion in the bug report indicate that maybe --show-details was a misfeature anyways, and it should always just stream.

这篇关于我如何通过cabal new-test流化测试结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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