Specs2RouteTest

pl.iterators.stir.testkit.Specs2RouteTest

Attributes

Source
Specs2Utils.scala
Graph
Supertypes
trait Specs2Utils
trait Specs2
trait AfterAll
trait FragmentsFactory
trait SpecificationStructure
trait ContextualSpecificationStructure
trait RouteTest
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class RequestBuilder(val method: Method)

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
Supertypes
class Object
trait Matchable
class Any
class RouteTestResult()

A receptacle for the response or rejections created by a route.

A receptacle for the response or rejections created by a route.

Attributes

Inherited from:
RouteTestResultComponent
Source
RouteTestResultComponent.scala
Supertypes
class Object
trait Matchable
class Any
abstract class TildeArrow[A, B]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TildeArrow

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
abstract class TildeBangArrow[A, B]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformation2(request: Request[IO])

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Inherited types

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Value members

Inherited methods

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def addHeader(headerName: String, headerValue: String): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def addHeaders(first: ToRaw, more: ToRaw*): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
override def afterAll(): Unit

Attributes

Definition Classes
Specs2 -> AfterAll
Inherited from:
Specs2
Source
TestFrameworkInterface.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def check[T](body: => T): RouteTestResult => T

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def cleanUp(): Unit

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def decorate(is: SpecStructure, env: Env): SpecStructure

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala
def entityAs[T](implicit um: EntityDecoder[IO, T], cls: ClassTag[T]): T

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def evaluateTo[T](value: T)(implicit runtime: IORuntime): Matcher[IO[T]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala
def failTest(msg: String): Nothing

Attributes

Inherited from:
Specs2
Source
TestFrameworkInterface.scala
protected def fragmentFactory: FragmentFactory

Attributes

Inherited from:
FragmentsFactory
Source
FragmentFactory.scala
def fragments: Env => Fragments

Attributes

Inherited from:
ContextualSpecificationStructure
Source
SpecificationStructure.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def haveFailedWith(t: Throwable)(implicit runtime: IORuntime): Matcher[IO[_]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala
def header(name: String): Option[Raw]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def header[T](implicit ev: Select[T], cls: ClassTag[T]): Option[F[T]]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def is: SpecStructure

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala
override def map(fs: => Fragments): Fragments

modify the fragments

modify the fragments

Attributes

Definition Classes
AfterAll -> SpecificationStructure
Inherited from:
AfterAll
Source
EachContext.scala
def map(fs: => Fragments, env: Env): Fragments

modify the fragments, using the current environment

modify the fragments, using the current environment

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala
def map(structure: SpecStructure): SpecStructure

modify the specification structure

modify the specification structure

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def marshal[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): EntityBody[IO]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def marshalToResponse[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): Response[IO]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def removeHeader[T](implicit h: Header[T, _]): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def responseAs[T](implicit um: EntityDecoder[IO, T], cls: ClassTag[T]): T

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def status: Status

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def structure: Env => SpecStructure

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala
def unmarshal[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): Try[T]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def unmarshalTo[T](value: Try[T])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): Matcher[Request[IO]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala
def unmarshalToValue[T](value: T)(implicit um: EntityDecoder[IO, T], runtime: IORuntime): Matcher[Request[IO]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala
def unmarshalValue[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): T

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Inherited fields

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
Specs2
Source
TestFrameworkInterface.scala

Implicits

Inherited implicits

final implicit def WithTransformation2(request: Request[IO]): WithTransformation2

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
implicit def header2AddHeader(header: ToRaw): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
implicit def runtime: IORuntime

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala