sttp.tapir.server.tests
package sttp.tapir.server.tests
Members list
Type members
Classlikes
class AllServerTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], serverInterpreter: TestServerInterpreter[F, Any, OPTIONS, ROUTE], backend: SttpBackend[IO, Fs2Streams[IO] & WebSockets], security: Boolean, basic: Boolean, contentNegotiation: Boolean, file: Boolean, mapping: Boolean, metrics: Boolean, multipart: Boolean, oneOf: Boolean, reject: Boolean, staticContent: Boolean, validation: Boolean, oneOfBody: Boolean, cors: Boolean, options: Boolean, maxContentLength: Boolean)(implicit m: MonadError[F])
All server tests in default configurations, except for streaming (which require a streams object) and web socket ones (which need to be subclassed). If a custom configuration is needed, exclude the tests here, and add separately.
All server tests in default configurations, except for streaming (which require a streams object) and web socket ones (which need to be subclassed). If a custom configuration is needed, exclude the tests here, and add separately.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
sealed trait Animal extends EnumEntry, Lowercase
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultCreateServerTest[F[_], +R, OPTIONS, ROUTE](backend: SttpBackend[IO, Fs2Streams[IO] & WebSockets], interpreter: TestServerInterpreter[F, R, OPTIONS, ROUTE]) extends CreateServerTest[F, R, OPTIONS, ROUTE]
Attributes
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class NoContentDataclass NotFound
case class NoContentData(msg: String) extends ErrorInfo
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ErrorInfoclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ErrorInfoclass Objecttrait Matchableclass AnyShow all
class ServerBasicTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], serverInterpreter: TestServerInterpreter[F, Any, OPTIONS, ROUTE], multipleValueHeaderSupport: Boolean, inputStreamSupport: Boolean, supportsUrlEncodedPathSegments: Boolean, supportsMultipleSetCookieHeaders: Boolean, invulnerableToUnsanitizedHeaders: Boolean, maxContentLength: Boolean)(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerCORSTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ServerCORSTests
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServerCORSTests.type
class ServerCancellationTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F], async: Async[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerContentNegotiationTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerFileTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerFilesTests[F[_], OPTIONS, ROUTE](serverInterpreter: TestServerInterpreter[F, Any, OPTIONS, ROUTE], backend: SttpBackend[IO, Fs2Streams[IO] & WebSockets], supportSettingContentLength: Boolean)
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerGracefulShutdownTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], sleeper: Sleeper[F])(implicit m: MonadError[F]) extends EitherValues
Attributes
- Supertypes
-
trait EitherValuestrait Serializableclass Objecttrait Matchableclass Any
class ServerMappingTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerMetricsTest[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ServerMetricsTest
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServerMetricsTest.type
class ServerMultipartTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], partContentTypeHeaderSupport: Boolean, partOtherHeaderSupport: Boolean, maxContentLengthSupport: Boolean)(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerOneOfBodyTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerOneOfTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerOptionsTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], serverInterpreter: TestServerInterpreter[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerRejectTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE], serverInterpreter: TestServerInterpreter[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class ServerSecurityTests[F[_], S, OPTIONS, ROUTE](createServerTest: CreateServerTest[F, S, OPTIONS, ROUTE])(implicit m: MonadError[F]) extends Matchers
Attributes
- Supertypes
-
trait Matcherstrait Explicitlytrait MatcherWordstrait ShouldVerbtrait Tolerancetrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
class ServerStreamingTests[F[_], S, OPTIONS, ROUTE](createServerTest: CreateServerTest[F, S, OPTIONS, ROUTE], maxLengthSupported: Boolean)(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
abstract class ServerStubStreamingTest[F[_], S, OPTIONS](createStubServerTest: CreateServerStubTest[F, OPTIONS], streams: Streams[S]) extends AsyncFlatSpec, Matchers, BeforeAndAfterAll
Attributes
- Supertypes
-
trait BeforeAndAfterAlltrait SuiteMixintrait Matcherstrait Explicitlytrait MatcherWordstrait Toleranceclass AsyncFlatSpectrait AsyncFlatSpecLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait CanVerbtrait MustVerbtrait ShouldVerbtrait AsyncTestRegistrationtrait AsyncTestSuitetrait CompleteLastlytrait RecoverMethodstrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
class ServerStubTest[F[_], R, OPTIONS](createStubServerTest: CreateServerStubTest[F, OPTIONS]) extends AsyncFlatSpec, Matchers, BeforeAndAfterAll
Attributes
- Supertypes
-
trait BeforeAndAfterAlltrait SuiteMixintrait Matcherstrait Explicitlytrait MatcherWordstrait Toleranceclass AsyncFlatSpectrait AsyncFlatSpecLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait CanVerbtrait MustVerbtrait ShouldVerbtrait AsyncTestRegistrationtrait AsyncTestSuitetrait CompleteLastlytrait RecoverMethodstrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
class ServerValidationTests[F[_], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, Any, OPTIONS, ROUTE])(implicit m: MonadError[F])
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
abstract class ServerWebSocketTests[F[_], S <: Streams[S], OPTIONS, ROUTE](createServerTest: CreateServerTest[F, S & WebSockets, OPTIONS, ROUTE], val streams: S, autoPing: Boolean, failingPipe: Boolean, handlePong: Boolean, expectCloseResponse: Boolean, frameConcatenation: Boolean)(implicit m: MonadError[F]) extends EitherValues
Attributes
- Supertypes
-
trait EitherValuestrait Serializableclass Objecttrait Matchableclass Any
object Sleeper
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Concrete fields
In this article