Package

de.leanovate.swaggercheck

playhelper

Permalink

package playhelper

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. playhelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type PlayOperationVerifier = OperationValidator[FakeRequest[String], Future[Result]]

    Permalink
  2. class TestPlayAppAgainstSwagger extends Properties

    Permalink

    Generates many requests and tests the responses.

    Generates many requests and tests the responses.

    Excerpt from example application:

    class ThingsControllerSpec("./ThingApi.yaml")({
      val mockedData: ThingRepository = new ThingRepository { ... }
    
      new GuiceApplicationBuilder()
        .overrides(bind[ThingsRepository].toInstance(mockThingsRepository))
        .build()
    })

Value Members

  1. object FakeRequests

    Permalink
  2. object FutureResults extends ResultExtractors with HeaderNames with Status with DefaultAwaitTimeout

    Permalink
  3. implicit val requestCreator: RequestCreator[FakeRequest[String]]

    Permalink
  4. implicit val responseExtractor: ResponseExtractor[Future[Result]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped