【发布时间】:2019-02-28 17:42:14
【问题描述】:
我正在使用IntelliJ 进行开发。我创建了一个 test 文件夹,其中包含我的 spec 文件。要测试specs,我右键单击项目目录并选择run->all tests。
我想创建一个sbt 任务来测试代码。我知道我必须在build.sbt 中定义口味,但我不知道运行测试的命令。
在游戏中运行测试的命令是什么?文档说 (https://www.playframework.com/documentation/2.7.x/ScalaTestingWithScalaTest#Testing-your-application-with-ScalaTest)
You can run tests from the Play console. To run all tests, run test.。但我不知道如何玩控制台。
【问题讨论】:
标签: intellij-idea playframework-2.6