play.api

test

package test

Contains test helpers.

Visibility
  1. Public
  2. All

Type Members

  1. case class FakeApplication (path: File, classloader: ClassLoader, additionalPlugins: Seq[String], withoutPlugins: Seq[String], additionalConfiguration: Map[String, String]) extends Application with Product with Serializable

    A Fake application.

  2. case class FakeHeaders (data: Map[String, Seq[String]]) extends Headers with Product with Serializable

    Fake HTTP headers implementation.

  3. case class FakeRequest [A] (method: String, uri: String, headers: FakeHeaders, body: A) extends Request[A] with Product with Serializable

    Fake HTTP request implementation.

  4. case class TestBrowser (webDriver: WebDriver) extends FluentAdapter with Product with Serializable

    A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.

  5. case class TestServer (port: Int, application: FakeApplication) extends Product with Serializable

    A test Netty web server.

Value Members

  1. object FakeRequest extends Serializable

    Helper utilities to build FakeRequest values.

  2. object Helpers extends Status with HeaderNames

    Helper functions to run tests.

  3. object TestBrowser extends Serializable

    Helper utilities to build TestBrowsers

  4. object WebDriverFactory extends AnyRef