Packages

t

org.scalatestplus.play.guice

GuiceFakeApplicationFactory

trait GuiceFakeApplicationFactory extends FakeApplicationFactory

This trait is used to return an instance of Application that is used in tests.

If you need to use a fake application for Play, but don't want to override the application method for each suite individually, you can create a trait that subclasses GuiceFakeApplicationFactory

Source
GuiceFakeApplicationFactory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuiceFakeApplicationFactory
  2. FakeApplicationFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def fakeApplication(): Application