MutableIOSuite

abstract class MutableIOSuite extends MutableFSuite[[A] =>> IO[A]] with BaseIOSuite with Helpers
trait Helpers
class MutableFSuite[[A] =>> IO[A]]
class RunnableSuite[[A] =>> IO[A]]
trait EffectSuite[[A] =>> IO[A]]
trait Here
trait EffectSuiteAux
trait Suite[[A] =>> IO[A]]
trait BaseSuiteClass
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class PartiallyAppliedTest(name: TestName)
Inherited from
MutableFSuite
class StringOps(str: String)
Inherited from
Helpers

Inherited types

final type EffectType[A] = F[A]
Inherited from
EffectSuite
type Res
Inherited from
MutableFSuite

Value members

Inherited methods

protected def adaptRunError: PartialFunction[Throwable, Throwable]
Inherited from
EffectSuite
def assert: Expect
Inherited from
Helpers
def cancel(reason: String)(pos: SourceLocation): IO[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".

Inherited from
EffectSuite
def exists[L[_], A](la: L[A])(f: A => Expectations)(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.

Inherited from
Helpers
def expect: Expect

Expect macros

Expect macros

Inherited from
Helpers
def fail[A](hint: String)(pos: SourceLocation): A => Expectations
Inherited from
Helpers
def failure(hint: String)(pos: SourceLocation): Expectations
Inherited from
Helpers
def forEach[L[_], A](la: L[A])(f: A => Expectations)(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.

Inherited from
Helpers
inline def here: SourceLocation

Pulls source location without being affected by implicit scope.

Pulls source location without being affected by implicit scope.

Inherited from
Here
def ignore(reason: String)(pos: SourceLocation): IO[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"

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

Alias to forall

Alias to forall

Inherited from
Helpers
def loggedTest(name: TestName)(run: Log[[A] =>> IO[A]] => IO[Expectations]): Unit
Inherited from
MutableFSuite
def maxParallelism: Int
Inherited from
MutableFSuite
override def name: String
Definition Classes
EffectSuite -> Suite
Inherited from
EffectSuite
def not(assertion: Expectations)(pos: SourceLocation): Expectations
Inherited from
Helpers
def plan: List[TestName]
Inherited from
MutableFSuite
def pureTest(name: TestName)(run: => Expectations): Unit
Inherited from
MutableFSuite
protected def registerTest(name: TestName)(f: Res => IO[TestOutcome]): Unit
Inherited from
MutableFSuite
final def run(args: List[String])(report: TestOutcome => IO[Unit]): IO[Unit]
Inherited from
EffectSuite
def sharedResource: Resource[[A] =>> IO[A], Res]
Inherited from
MutableFSuite
override def spec(args: List[String]): Stream[[A] =>> IO[A], TestOutcome]
Definition Classes
MutableFSuite -> Suite
Inherited from
MutableFSuite
def succeed[A]: A => Expectations
Inherited from
Helpers
def test(name: TestName): PartiallyAppliedTest
Inherited from
MutableFSuite
def unsafeRun: UnsafeRun[EffectType]
Inherited from
BaseIOSuite
def verify(condition: Boolean)(pos: SourceLocation): Expectations
Inherited from
Helpers
def verify(condition: Boolean, hint: String)(pos: SourceLocation): Expectations
Inherited from
Helpers

Inherited fields

val success: Expectations
Inherited from
Helpers

Implicits

Inherited implicits

final implicit protected def contextShift: ContextShift[[A] =>> IO[A]]
Inherited from
BaseIOSuite
final implicit protected def effect: Concurrent[[A] =>> IO[A]]
Inherited from
EffectSuite
implicit protected def effectCompat: UnsafeRun[EffectType]
Inherited from
BaseIOSuite
final implicit protected def timer: Timer[[A] =>> IO[A]]
Inherited from
BaseIOSuite