trait GuiceFakeApplicationFactory extends FakeApplicationFactory
Ordering
- Alphabetic
- By Inheritance
Inherited
- GuiceFakeApplicationFactory
- FakeApplicationFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def fakeApplication(): Application
- Definition Classes
- → 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