PizzaSpec

smithy4s.tests.PizzaSpec
abstract class PizzaSpec extends MutableIOSuite with Http4sDsl[IO] with Http4sClientDsl[IO]

Attributes

Graph
Supertypes
trait Http4sDsl[IO]
trait Http4sDsl2[IO, IO]
trait Responses[IO, IO]
trait Statuses
trait Auth
trait Methods
class MutableIOSuite
trait Helpers
trait BaseIOSuite
trait BaseCatsSuite
trait Provider[IO]
class MutableFSuite[IO]
class RunnableSuite[IO]
trait EffectSuite[IO]
trait Here
trait Suite[IO]
trait BaseSuiteClass
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

implicit class ClientOps(client: Client[IO])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class HeaderMap(values: Map[CaseInsensitive, List[String]])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
implicit class JsonOps(json: Json)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

class PartiallyAppliedTest(name: TestName)

Attributes

Inherited from:
MutableFSuite
Graph
Supertypes
class Object
trait Matchable
class Any
implicit class StringOps(str: String)

Attributes

Inherited from:
Helpers
Graph
Supertypes
class Object
trait Matchable
class Any
object as

Attributes

Inherited from:
Auth
Graph
Supertypes
class Object
trait Matchable
class Any

Types

type Res = (Client[IO], Uri)

Inherited types

type / = /.type

Attributes

Inherited from:
RequestDsl
final type EffectType[A] = F[A]

Attributes

Inherited from:
EffectSuite

Attributes

Inherited from:
RequestDsl
type Path = Path

Attributes

Inherited from:
RequestDsl

Attributes

Inherited from:
RequestDsl
type Root = Path

Attributes

Inherited from:
RequestDsl

Value members

Abstract methods

Concrete methods

def routerTest(testName: TestName)(f: (Client[IO], Uri, Log[IO]) => IO[Expectations]): Unit

Inherited methods

def assert: Expect

Attributes

Inherited from:
Helpers
def cancel(reason: String)(implicit pos: SourceLocation): F[Nothing]

Raise an error that leads to the running test being tagged as "cancelled".

Raise an error that leads to the running test being tagged as "cancelled".

Attributes

Inherited from:
EffectSuite
def exists[L[_], A](la: L[A])(f: A => Expectations)(implicit foldable: Foldable[L], pos: SourceLocation): Expectations

Checks that an assertion is true for at least one element in a foldable. Fails if the foldable is empty.

Checks that an assertion is true for at least one element in a foldable. Fails if the foldable is empty.

Attributes

Inherited from:
Helpers
def expect: Expect

Expect macros

Expect macros

Attributes

Inherited from:
Helpers
def fail[A](hint: String)(implicit pos: SourceLocation): A => Expectations

Attributes

Inherited from:
Helpers
def failure(hint: String)(implicit pos: SourceLocation): Expectations

Attributes

Inherited from:
Helpers
def forEach[L[_], A](la: L[A])(f: A => Expectations)(implicit L: Foldable[L]): Expectations

Checks that an assertion is true for all elements in a foldable. Succeeds if the foldable is empty.

Checks that an assertion is true for all elements in a foldable. Succeeds if the foldable is empty.

Attributes

Inherited from:
Helpers
def getSuite: EffectSuite[IO]

Attributes

Inherited from:
BaseIOSuite
inline def here: SourceLocation

Pulls source location without being affected by implicit scope.

Pulls source location without being affected by implicit scope.

Attributes

Inherited from:
Here
def ignore(reason: String)(implicit pos: SourceLocation): F[Nothing]

Raises an error that leads to the running test being tagged as "ignored"

Raises an error that leads to the running test being tagged as "ignored"

Attributes

Inherited from:
EffectSuite
def inEach[L[_], A](la: L[A])(f: A => Expectations)(implicit L: Foldable[L]): Expectations

Alias to forall

Alias to forall

Attributes

Inherited from:
Helpers

Attributes

Inherited from:
RunnableSuite
def loggedTest(name: TestName)(run: Log[IO] => IO[Expectations]): Unit

Attributes

Inherited from:
MutableFSuite

Attributes

Inherited from:
MutableFSuite
override def name: String

Attributes

Definition Classes
EffectSuite -> Suite
Inherited from:
EffectSuite
def not(assertion: Expectations)(implicit pos: SourceLocation): Expectations

Attributes

Inherited from:
Helpers
def plan: List[TestName]

Attributes

Inherited from:
MutableFSuite
def pureTest(name: TestName)(run: => Expectations): Unit

Attributes

Inherited from:
MutableFSuite
protected def registerTest(name: TestName)(f: Res => IO[TestOutcome]): Unit

Attributes

Inherited from:
MutableFSuite
final def run(args: List[String])(report: TestOutcome => IO[Unit]): F[Unit]

Attributes

Inherited from:
EffectSuite
override def spec(args: List[String]): Stream[F, TestOutcome]

Attributes

Definition Classes
MutableFSuite -> Suite
Inherited from:
MutableFSuite
def succeed[A]: A => Expectations

Attributes

Inherited from:
Helpers
def test(name: TestName): PartiallyAppliedTest

Attributes

Inherited from:
MutableFSuite
def verify(condition: Boolean)(implicit pos: SourceLocation): Expectations

Attributes

Inherited from:
Helpers
def verify(condition: Boolean, hint: String)(implicit pos: SourceLocation): Expectations

Attributes

Inherited from:
Helpers

Concrete fields

Inherited fields

val +&: +&.type

Attributes

Inherited from:
Http4sDsl2
val ->: ->.type

Attributes

Inherited from:
Http4sDsl2
val /: /.type

Attributes

Inherited from:
Http4sDsl2
val /:: /:.type

Attributes

Inherited from:
Http4sDsl2
val :?: :?.type

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses
val GET: Method

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses
val IntVar: IntVar.type

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses
val LongVar: LongVar.type

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods
val Ok: Status

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods
val PUT: Method

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses
val Path: Path.type

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses
val Root: Path

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses
val UUIDVar: UUIDVar.type

Attributes

Inherited from:
Http4sDsl2

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Statuses

Attributes

Inherited from:
Http4sDsl
val success: Expectations

Attributes

Inherited from:
Helpers
val ~: ~.type

Attributes

Inherited from:
Http4sDsl2
val : ->.type

Alias for ->.

Alias for ->.

Note: Due to infix operation precedence, has a lower priority than /. So you have to use parentheses in pattern matching when using this operator.

For example:

 (request.method, Path(request.path)) match {
   case Method.GET → (Root / "test.json") => ...

Attributes

Inherited from:
Http4sDsl2

Implicits

Implicits

final implicit def ClientOps(client: Client[IO]): ClientOps
final implicit def JsonOps(json: Json): JsonOps

Inherited implicits

final implicit def StringOps(str: String): StringOps

Attributes

Inherited from:
Helpers
implicit protected def effectCompat: UnsafeRun[IO]

Attributes

Inherited from:
BaseIOSuite

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Http4sClientDsl

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses
implicit def http4sFoundSyntax(status: Status): FoundOps[F, G]

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses
implicit def http4sGoneSyntax(status: Status): GoneOps[F, G]

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Http4sClientDsl

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
RequestDsl

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses
implicit def http4sOkSyntax(status: Status): OkOps[F, G]

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses

Attributes

Inherited from:
Responses