Unit testing Specs2:生成HTML报告?
我正在使用specs2生成html测试报告。但是,我得到了一个Unit testing Specs2:生成HTML报告?,unit-testing,scala,sbt,specs2,html-rendering,Unit Testing,Scala,Sbt,Specs2,Html Rendering,我正在使用specs2生成html测试报告。但是,我得到了一个com.company.package.SomeSpec.html每个规范。是否可以为我的所有测试生成一个单页html报告,或者至少生成一个链接到其他测试的index.html import org.specs2._ import runner.SpecificationsFinder._ class index extends Specification { def is = examplesLinks("Example s
com.company.package.SomeSpec.html
每个规范。是否可以为我的所有测试生成一个单页html报告,或者至少生成一个链接到其他测试的index.html
import org.specs2._
import runner.SpecificationsFinder._
class index extends Specification { def is =
examplesLinks("Example specifications")
// see the SpecificationsFinder trait for the parameters of the 'specifications' method
def examplesLinks(t: String) = t.title ^ specifications().map(see)
}