Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们想设置我们的SBT项目,以便我们有多个测试文件夹而不是一个。所以我们希望看到:
我们将如何配置我们的 SBT 项目文件路径来做到这一点?
SBT 0.9.x:
(sourceDirectories in Test) := Seq(new File("src/test/scala/unit"), new File("src/test/scala/functional"))
SBT 0.7.x:
override def testSourceRoots = ("src" / "test") +++ "scala" +++ ("unit" / "functional")