All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.reporter.TextExporting.scala Maven / Gradle / Ivy

package org.specs2
package reporter

import main.Arguments
import specification._

/**
 * This trait prints the executed fragments results and statistics
 * at the end of the specification
 */
trait TextExporting extends TextPrinter with Exporting { outer =>

  def export(implicit args: Arguments): ExecutingSpecification => ExecutedSpecification = (spec: ExecutingSpecification) => {
    spec.foreach { (name, fragments) => print(name, fragments) }
    spec.executed
  }

} 
object TextExporting extends TextExporting





© 2015 - 2025 Weber Informatics LLC | Privacy Policy