p
verify
package verify
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
AbstractTestSuite extends AnyRef
- Annotations
- @EnableReflectiveInstantiation()
- trait Assertion extends AssertEquals[Unit]
- trait BasicTestSuite extends AbstractTestSuite with Assertion
- final class CanceledException extends VerifyException
- final class IgnoredException extends VerifyException
- final class InterceptException extends VerifyException
- case class Properties[I](setup: () ⇒ I, tearDown: (I) ⇒ Void, setupSuite: () ⇒ Unit, tearDownSuite: () ⇒ Unit, properties: Seq[TestSpec[I, Unit]])(implicit ec: ExecutionContext) extends Iterable[TestSpec[Unit, Unit]] with Product with Serializable
- sealed trait Result[+T] extends AnyRef
- case class TestSpec[I, +O](name: String, f: (I) ⇒ Future[Result[O]]) extends (I) ⇒ Future[Result[O]] with Product with Serializable
- trait TestSuite[Env] extends AbstractTestSuite with Assertion
- final class UnexpectedException extends VerifyException
- abstract class VerifyException extends RuntimeException
-
sealed abstract
class
Void extends AnyRef
Replacement of
Unit
.Replacement of
Unit
.Scala automatically converts non-
Unit
values intoUnit
, making it impossible to detect when users are actually returningUnit
or not in their tests.Void
on the other hand boxes any such value, such that we can detect it in tests and deliver a meaningful error.