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

org.scalatra.test.specs2.BaseScalatraSpec.scala Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package org.scalatra
package test
package specs2

import org.specs2.specification.{BaseSpecification, Step, Fragments}

/**
 * A base specification structure that starts the tester before the
 * specification and stops it afterward.  Clients probably want to extend
 * ScalatraSpec or MutableScalatraSpec.
 */
trait BaseScalatraSpec extends BaseSpecification with ScalatraTests {
  override def map(fs: =>Fragments) = Step(start()) ^ super.map(fs) ^ Step(stop())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy