我按照在http://www.scala-sbt.org/release/docs/Detailed-Topics/Testing#integration-tests中找到的添加集成测试的步骤进行操作。
但是,当我运行时sbt it
,请参见以下内容:
$ sbt it
[info] Loading project definition from myproj/project
[info] Set current project to myproj (in build file:myproj/)
[error] Not a valid command: it
[error] Not a valid project ID: it
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: it
[error] it
[error] ^
sbt test
按预期工作