libretto-testing
libretto-testing
API
libretto.testing
ManualClock
ManualClock
ManualClockParams
TestCase
TestCase
Configure
InteractWith
InteractWithConfigured
Multiple
Pending
Pure
Single
SingleProgram
TestExecutor
TestExecutor
Factory
Factory
UsingExecutor
TestKit
Outcome
monadOutcome
TestKit
TestKitOps
TestKitWithManualClock
TestResult
Success
Failures
TestResult
Failure
Failed
Crash
TimedOut
TestSuite
libretto.testing.scaletto
ScalettoTestExecutor
ExecutionParam
F
Instantiation
Instantiation
ManualClockParam
manualClockParamsInstance
ScalettoTestKitFromBridge
ScalettoTestKit
ScalettoTestKit
ScalettoTestKitOps
ScalettoTestSuite
StarterTestExecutor
StarterTestSuite
libretto-testing
/
libretto.testing
/
TestKit
TestKit
libretto.testing.TestKit
See the
TestKit
companion object
opaque
trait
TestKit
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
trait
TestKitWithManualClock
trait
ScalettoTestKit
class
ScalettoTestKitFromBridge
[
DSL
,
Bridge
]
Clear all
Members list
Concise view
Type members
Classlikes
object
Outcome
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
Outcome
.type
object
monadOutcome
extends
Monad
[
Outcome
]
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Monad
[
Outcome
]
trait
Applicative
[
Outcome
]
trait
Zippable
[
Tuple2
,
Outcome
]
class
Object
trait
Matchable
class
Any
Self type
monadOutcome
.type
Types
type
Assertion
[
A
]
type
Dsl
<:
CoreDSL
type
ExecutionParam
[
A
]
opaque
type
Outcome
[
A
]
Value members
Abstract methods
def
extractOutcome
(
using
exn
:
Execution
,
pos
:
SourcePos
)(
outPort
:
OutPort
[
Assertion
[
Done
]]):
Outcome
[
Unit
]
def
failure
[
A
]:
Done
-⚬
Assertion
[
A
]
def
success
[
A
]:
A
-⚬
Assertion
[
A
]
Concrete methods
transparent inline
def
InPort
(
using
exn
:
Execution
):
InPorts
transparent inline
def
OutPort
(
using
exn
:
Execution
):
OutPorts
def
expectCrashDone
(
using
exn
:
Execution
,
pos
:
SourcePos
)(
port
:
OutPort
[
Done
]):
Outcome
[
Throwable
]
def
expectDone
(
using
exn
:
Execution
)(
port
:
OutPort
[
Done
]):
Outcome
[
Unit
]
def
expectLeft
[
A
,
B
](
using
exn
:
Execution
,
pos
:
SourcePos
)(
port
:
OutPort
[
A
|+|
B
]):
Outcome
[
OutPort
[
A
]]
def
expectPing
(
using
exn
:
Execution
)(
port
:
OutPort
[
Ping
]):
Outcome
[
Unit
]
def
expectRight
[
A
,
B
](
using
exn
:
Execution
,
pos
:
SourcePos
)(
port
:
OutPort
[
A
|+|
B
]):
Outcome
[
OutPort
[
B
]]
def
splitOut
[
A
,
B
](
using
exn
:
Execution
)(
port
:
OutPort
[
A
|*|
B
]):
Outcome
[(
OutPort
[
A
],
OutPort
[
B
])]
Abstract fields
val
ExecutionParam
:
ExecutionParams
[
ExecutionParam
]
val
bridge
:
Of
[
Dsl
]
val
dsl
:
Dsl
Givens
Givens
given
monadAssertion
:
Monad
[
-⚬
,
Assertion
]
given
monadOutcome
:
monadOutcome
.type