Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance MethodVapor

testing(_:options:sourceLocation:_:)

func testing<T>(_ method: Method = .inMemory, options: LiveTestOptions = .live, sourceLocation: SourceLocation = #_sourceLocation, _ body: (any TestClient) async throws -> T) async throws -> T