es.weso.utils.testsuite

Type members

Classlikes

case
class FailedResult(entry: TestId, msg: Option[String], time: Option[FiniteDuration], exception: Option[Throwable]) extends TestResult
Companion
object
Companion
class
case
class MoreThanOneTestEntry(ids: List[TestEntry], entries: List[TestEntry]) extends RuntimeException
case
class NotFoundTestEntry(id: TestId, entries: List[TestEntry]) extends RuntimeException
case
class PassedResult(entry: TestId, msg: Option[String], time: Option[FiniteDuration]) extends TestResult
Companion
object
Companion
class
case
class Stats
Companion
object
object Stats
Companion
class
case
class TestConfig(maxTimePerTest: FiniteDuration, verbose: Boolean)
Companion
object
object TestConfig
Companion
class
case
class TestEntry(id: TestId, action: IO[TestResult])
Companion
object
object TestEntry
Companion
class
final case
class TestId(id: String) extends AnyVal
Companion
object
object TestId
Companion
class
sealed abstract
class TestResult extends Product with Serializable
Companion
object
object TestResult
Companion
class
case
class TestResults(passed: Vector[PassedResult], failed: Vector[FailedResult], skipped: List[TestId], notFound: List[TestId])

Represents the results of running a list of tests

Represents the results of running a list of tests

Value Params
failed

tests that failed

notFound

tests in the except list that were not found in the list of tests to run

passed

tests that passed

skipped

tests that were skipped

case
class TestSuite(tests: List[TestEntry])
case
class TimeOut(name: String, duration: FiniteDuration) extends RuntimeException