我遵循在http://www.scala-sbt.org/release/docs/Detailed-Topics/Testing#integration-tests找到的添加集成测试的步骤。不是一个有效的命令:它执行sbt时它
然而,当我运行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
按预期工作
sbt的术语是'it'是一个“配置”。 –