Registry / testing / spray-testkit-2-11

spray-testkit-2-11

JSON →
library1.3.4javamavenunverified

Testing utilities for Spray, a Scala library for RESTful web services on Akka.

<dependency> <groupId>io.spray</groupId> <artifactId>spray-testkit_2.11</artifactId> <version>1.3.4</version> </dependency>
INSTALL
IMPORT
SIG · SPRAY-TESTKIT-2-11
S
spray-testkit-2-11
testingjavav1.3.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Specs2RouteTest
spray.testkit.Specs2RouteTest

Tests a simple route using Spray TestKit with Specs2.

import spray.testkit.Specs2RouteTest; import spray.routing.HttpService; import org.specs2.mutable.Specification; class MyRouteSpec extends Specification with Specs2RouteTest with HttpService { def actorRefFactory = system "My route" should { "return hello" in { Get() ~> complete("hello") ~> check { responseAs[String] === "hello" } } } }
Debug
Known issues
breakingSpray is deprecated in favor of Akka HTTP.
fix
Migrate to Akka HTTP for continued support and updates.
affects: *
Upgrade
Version history
1.3.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
spray-testkit-2-11 — mvn dependency:get spray-testkit-2-11 · libregistry