我遵循在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'是一個「配置」。 –