 <p><a href="https://github.com/harrah/xsbt/tree/0.9" rel="nofollow"><strong>SBT 0.9.x</strong></a>:</p> <pre><code>(sourceDirectories in Test) := Seq(new File("src/test/scala/unit"), new File("src/test/scala/functional")) </code></pre> <p><strong>SBT 0.7.x</strong>:</p> <pre><code>override def testSourceRoots = ("src" / "test") +++ "scala" +++ ("unit" / "functional") </code></pre>