WithTransformation2

pl.iterators.stir.testkit.RouteTest.WithTransformation2
implicit class WithTransformation2(request: Request[IO])

Attributes

Source
RouteTest.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ~!>[A, B](f: A => B)(implicit tba: TildeBangArrow[A, B]): Out

Evaluate request against routes run in server mode for further inspection in check { } block.

Evaluate request against routes run in server mode for further inspection in check { } block.

Compared to ~>, the given routes are run in a fully fledged server, which allows more types of directives to be tested at the cost of additional overhead related with server setup.

Attributes

Source
RouteTest.scala
def ~>[A, B](f: A => B)(implicit ta: TildeArrow[A, B]): Out

Apply request to given routes for further inspection in check { } block.

Apply request to given routes for further inspection in check { } block.

Attributes

Source
RouteTest.scala