如何重新定义SBT的测试任务?

时间:2016-04-20 13:17:22

标签: scala testing sbt redefinition

在我目前的环境中,sbt test不起作用。我想制作sbt print“这不起作用,而是执行以下操作:[...]”直到我们将sbt test整理出来。我该怎么做?

1 个答案:

答案 0 :(得分:1)

test := throw new MessageOnlyException("this does not work") 

你真的应该为此阅读sbt文档。

相关问题