Registry / testing / play-test-2-12

play-test-2-12

JSON →
library2.8.22javamavenunverified

Testing utilities and helpers for the Play Framework, compiled for Scala 2.12.

<dependency> <groupId>com.typesafe.play</groupId> <artifactId>play-test_2.12</artifactId> <version>2.8.22</version> </dependency>
INSTALL
IMPORT
SIG · PLAY-TEST-2-12
P
play-test-2-12
testingjavav2.8.22
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.

Helpers
play.api.test.Helpers

Write a Play Framework controller test using Play Test helpers.

import play.api.test.Helpers._ import play.api.test._ import play.api.mvc._ class MyControllerSpec extends PlaySpec with Results { "MyController" should { "return OK" in { val controller = new MyController(Helpers.stubControllerComponents()) val result = controller.index().apply(FakeRequest()) status(result) mustBe OK } } }
Debug
Known issues
breakingPlay 2.8.x is the last version supporting Scala 2.12; newer versions use Scala 2.13 or 3.
fix
Upgrade to Play 2.9+ and Scala 2.13 for continued support.
affects: >=2.8.0
Upgrade
Version history
2.8.22latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
play-test-2-12 — mvn dependency:get play-test-2-12 · libregistry