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

org.specs2.execute.StandardResults.scala Maven / Gradle / Ivy

package org.specs2
package execute

/**
 * This trait provides standard results which can be used in Fragments bodies
 */
trait StandardResults {
  def done = Success("DONE")
  def wontdo = Success("WONT DO")
  def todo = Pending("TODO")
  def pending = Pending("PENDING")
  def anError = Error("error")
  def success = Success("success")
  def failure = Failure("failure")
  def skipped = Skipped("skipped")
}

object StandardResults extends StandardResults




© 2015 - 2025 Weber Informatics LLC | Privacy Policy