Package

zio

test

Permalink

package test

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

Type Members

  1. type Annotated[+A] = (A, TestAnnotationMap)

    Permalink
  2. type Annotations = Has[Service]

    Permalink
  3. type AssertResult = BoolAlgebra[AssertionValue]

    Permalink
  4. type AssertResultM = BoolAlgebraM[Any, Nothing, AssertionValue]

    Permalink
  5. type Sized = Has[Service]

    Permalink
  6. type TestAspectAtLeastR[R] = TestAspect[Nothing, R, Nothing, Any]

    Permalink
  7. type TestAspectPoly = TestAspect[Nothing, Any, Nothing, Any]

    Permalink
  8. type TestConfig = Has[Service]

    Permalink
  9. type TestLogger = Has[Service]

    Permalink
  10. type TestReporter[-E] = (Duration, ExecutedSpec[E]) ⇒ URIO[TestLogger, Unit]

    Permalink
  11. type TestResult = BoolAlgebra[AssertionResult]

    Permalink
  12. type ZSpec[-R, +E] = Spec[R, TestFailure[E], TestSuccess]

    Permalink
  13. type ZTest[-R, +E] = ZIO[R, TestFailure[E], TestSuccess]

    Permalink
  14. type ZTestEnv = TestClock with TestConsole with TestRandom with TestSystem

    Permalink

Value Members

  1. macro def assert[A](expr: ⇒ A)(assertion: Assertion[A]): TestResult

    Permalink
    Definition Classes
    CompileVariants
  2. val assertCompletes: TestResult

    Permalink
  3. val assertCompletesM: UIO[TestResult]

    Permalink
  4. macro def assertM[R, E, A](effect: ZIO[R, E, A])(assertion: AssertionM[A]): ZIO[R, E, TestResult]

    Permalink
    Definition Classes
    CompileVariants
  5. macro def assertTrue(expr: Boolean): Assert

    Permalink
    Definition Classes
    CompileVariants
  6. macro def assertTrue(expr: Boolean, exprs: Boolean*): Assert

    Permalink
    Definition Classes
    CompileVariants
  7. def check[R <: TestConfig, R1 <: R, A, B, C, D, F, G, H, I](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H], rv8: Gen[R, I])(test: (A, B, C, D, F, G, H, I) ⇒ TestResult): URIO[R1, TestResult]

    Permalink
  8. def check[R <: TestConfig, R1 <: R, A, B, C, D, F, G, H](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H])(test: (A, B, C, D, F, G, H) ⇒ TestResult): URIO[R1, TestResult]

    Permalink
  9. def check[R <: TestConfig, A, B, C, D, F, G](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G])(test: (A, B, C, D, F, G) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  10. def check[R <: TestConfig, A, B, C, D, F](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F])(test: (A, B, C, D, F) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  11. def check[R <: TestConfig, A, B, C, D](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D])(test: (A, B, C, D) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  12. def check[R <: TestConfig, A, B, C](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C])(test: (A, B, C) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  13. def check[R <: TestConfig, A, B](rv1: Gen[R, A], rv2: Gen[R, B])(test: (A, B) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  14. def check[R <: TestConfig, A](rv: Gen[R, A])(test: (A) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  15. def checkAll[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G, H, I](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H], rv8: Gen[R, I])(test: (A, B, C, D, F, G, H, I) ⇒ TestResult): URIO[R1, TestResult]

    Permalink
  16. def checkAll[R <: TestConfig, R1 <: R, A, B, C, D, F, G, H](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H])(test: (A, B, C, D, F, G, H) ⇒ TestResult): URIO[R1, TestResult]

    Permalink
  17. def checkAll[R <: TestConfig, A, B, C, D, F, G](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G])(test: (A, B, C, D, F, G) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  18. def checkAll[R <: TestConfig, A, B, C, D, F](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F])(test: (A, B, C, D, F) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  19. def checkAll[R <: TestConfig, A, B, C, D](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D])(test: (A, B, C, D) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  20. def checkAll[R <: TestConfig, A, B, C](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C])(test: (A, B, C) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  21. def checkAll[R <: TestConfig, A, B](rv1: Gen[R, A], rv2: Gen[R, B])(test: (A, B) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  22. def checkAll[R <: TestConfig, A](rv: Gen[R, A])(test: (A) ⇒ TestResult): URIO[R, TestResult]

    Permalink
  23. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G, H, I](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H], rv8: Gen[R, I])(test: (A, B, C, D, F, G, H, I) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  24. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G, H](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H])(test: (A, B, C, D, F, G, H) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  25. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G])(test: (A, B, C, D, F, G) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  26. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C, D, F](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F])(test: (A, B, C, D, F) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  27. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C, D](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D])(test: (A, B, C, D) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  28. def checkAllM[R <: TestConfig, R1 <: R, E, A, B, C](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C])(test: (A, B, C) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  29. def checkAllM[R <: TestConfig, R1 <: R, E, A, B](rv1: Gen[R, A], rv2: Gen[R, B])(test: (A, B) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  30. def checkAllM[R <: TestConfig, R1 <: R, E, A](rv: Gen[R, A])(test: (A) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  31. def checkAllMPar[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], parallelism: Int)(test: (A, B, C, D, F, G) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  32. def checkAllMPar[R <: TestConfig, R1 <: R, E, A, B, C, D, F](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], parallelism: Int)(test: (A, B, C, D, F) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  33. def checkAllMPar[R <: TestConfig, R1 <: R, E, A, B, C, D](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], parallelism: Int)(test: (A, B, C, D) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  34. def checkAllMPar[R <: TestConfig, R1 <: R, E, A, B, C](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], parallelism: Int)(test: (A, B, C) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  35. def checkAllMPar[R <: TestConfig, R1 <: R, E, A, B](rv1: Gen[R, A], rv2: Gen[R, B], parallelism: Int)(test: (A, B) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  36. def checkAllMPar[R <: TestConfig, R1 <: R, E, A](rv: Gen[R, A], parallelism: Int)(test: (A) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  37. def checkM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G, H, I](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H], rv8: Gen[R, I])(test: (A, B, C, D, F, G, H, I) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  38. def checkM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G, H](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G], rv7: Gen[R, H])(test: (A, B, C, D, F, G, H) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  39. def checkM[R <: TestConfig, R1 <: R, E, A, B, C, D, F, G](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F], rv6: Gen[R, G])(test: (A, B, C, D, F, G) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  40. def checkM[R <: TestConfig, R1 <: R, E, A, B, C, D, F](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D], rv5: Gen[R, F])(test: (A, B, C, D, F) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  41. def checkM[R <: TestConfig, R1 <: R, E, A, B, C, D](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C], rv4: Gen[R, D])(test: (A, B, C, D) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  42. def checkM[R <: TestConfig, R1 <: R, E, A, B, C](rv1: Gen[R, A], rv2: Gen[R, B], rv3: Gen[R, C])(test: (A, B, C) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  43. def checkM[R <: TestConfig, R1 <: R, E, A, B](rv1: Gen[R, A], rv2: Gen[R, B])(test: (A, B) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  44. def checkM[R <: TestConfig, R1 <: R, E, A](rv: Gen[R, A])(test: (A) ⇒ ZIO[R1, E, TestResult]): ZIO[R1, E, TestResult]

    Permalink
  45. def checkN(n: Int): CheckN

    Permalink
  46. def checkNM(n: Int): CheckNM

    Permalink
  47. val defaultTestRunner: TestRunner[test.environment.TestEnvironment, Any]

    Permalink
  48. def failed[E](cause: Cause[E]): ZIO[Any, TestFailure[E], Nothing]

    Permalink
  49. val ignored: UIO[TestSuccess]

    Permalink
  50. def platformSpecific[R, E, A](js: ⇒ A, jvm: ⇒ A)(f: (A) ⇒ ZTest[R, E]): ZTest[R, E]

    Permalink
  51. package sbt

    Permalink
  52. def suite[R, E, T](label: String)(specs: Spec[R, E, T]*): Spec[R, E, T]

    Permalink
  53. def suiteM[R, E, T](label: String)(specs: ZIO[R, E, Iterable[Spec[R, E, T]]]): Spec[R, E, T]

    Permalink
  54. def test(label: String)(assertion: ⇒ TestResult)(implicit loc: SourceLocation): ZSpec[Any, Nothing]

    Permalink
  55. def testM[R, E](label: String)(assertion: ⇒ ZIO[R, E, TestResult])(implicit loc: SourceLocation): ZSpec[R, E]

    Permalink
  56. final macro def typeCheck(code: String): UIO[Either[String, Unit]]

    Permalink
    Definition Classes
    CompileVariants
  57. def versionSpecific[R, E, A](dotty: ⇒ A, scala2: ⇒ A)(f: (A) ⇒ ZTest[R, E]): ZTest[R, E]

    Permalink

Inherited from CompileVariants

Inherited from AnyRef

Inherited from Any

Ungrouped