com
.
github
.
agourlay
.
cornichon
core
package
core
Visibility
Public
All
Type Members
case class
AssertStep
[
A
]
(
title:
String
,
action: (
Session
) ⇒
StepAssertion
[
A
]
,
negate:
Boolean
=
false
,
show:
Boolean
=
true
)
extends
Step
with
Product
with
Serializable
case class
ConcurrentStart
(
factor:
Int
,
maxTime:
Duration
)
extends
ConcurrentStep
with
Product
with
Serializable
sealed
trait
ConcurrentStep
extends
WrapperStep
trait
CornichonError
extends
Exception
with
NoStackTrace
trait
CornichonLogger
extends
AnyRef
case class
DebugStep
(
message: (
Session
) ⇒
String
)
extends
Step
with
Product
with
Serializable
case class
DefaultLogInstruction
(
message:
String
,
margin:
Int
,
duration:
Option
[
Duration
] =
None
)
extends
LogInstruction
with
Product
with
Serializable
case class
DetailedStepAssertion
[
A
]
(
expected:
A
,
result:
A
,
details: (
A
) ⇒
String
)
extends
StepAssertion
[
A
] with
Product
with
Serializable
case class
DetailedStepAssertionError
[
A
]
(
result:
A
,
detailedAssertion: (
A
) ⇒
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
EffectStep
(
title:
String
,
effect: (
Session
) ⇒
Session
,
show:
Boolean
=
true
)
extends
Step
with
Product
with
Serializable
case class
EmptyKeyException
(
s:
Session
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
class
Engine
extends
AnyRef
case class
EventuallyConf
(
maxTime:
Duration
,
interval:
Duration
)
extends
Product
with
Serializable
case class
EventuallyStart
(
conf:
EventuallyConf
)
extends
EventuallyStep
with
Product
with
Serializable
sealed
trait
EventuallyStep
extends
WrapperStep
case class
FailedRunSteps
(
failedStep:
FailedStep
,
notExecutedStep:
Vector
[
String
]
,
logs:
Vector
[
LogInstruction
]
,
session:
Session
)
extends
StepsReport
with
Product
with
Serializable
case class
FailedScenarioReport
(
scenarioName:
String
,
failedStep:
FailedStep
,
successSteps:
Vector
[
String
]
,
notExecutedStep:
Vector
[
String
]
,
logs:
Vector
[
LogInstruction
]
,
session:
Session
)
extends
ScenarioReport
with
Product
with
Serializable
case class
FailedStep
(
step:
Step
,
error:
CornichonError
)
extends
Product
with
Serializable
case class
FailureLogInstruction
(
message:
String
,
margin:
Int
,
duration:
Option
[
Duration
] =
None
)
extends
LogInstruction
with
Product
with
Serializable
case class
FeatureDef
(
name:
String
,
scenarios:
Vector
[
Scenario
]
,
ignored:
Boolean
=
false
)
extends
Product
with
Serializable
case class
GenMapper
(
gen:
Gen
[
String
]
)
extends
Mapper
with
Product
with
Serializable
case class
GeneratorError
(
placeholder:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
InfoLogInstruction
(
message:
String
,
margin:
Int
,
duration:
Option
[
Duration
] =
None
)
extends
LogInstruction
with
Product
with
Serializable
case class
JsonMapper
(
key:
String
,
jsonPath:
String
,
transform: (
String
) ⇒
String
=
identity
)
extends
Mapper
with
Product
with
Serializable
case class
KeyNotFoundInSession
(
key:
String
,
s:
Session
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
sealed
trait
LogInstruction
extends
AnyRef
sealed
trait
Mapper
extends
AnyRef
case class
Placeholder
(
key:
String
,
index:
Option
[
Int
]
)
extends
Product
with
Serializable
class
PlaceholderParser
extends
Parser
case class
RepeatDuringStart
(
duration:
Duration
)
extends
RepeatDuringStep
with
Product
with
Serializable
sealed
trait
RepeatDuringStep
extends
WrapperStep
case class
RepeatStart
(
occurence:
Int
)
extends
RepeatStep
with
Product
with
Serializable
sealed
trait
RepeatStep
extends
WrapperStep
class
Resolver
extends
AnyRef
case class
ResolverParsingError
(
error:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
RetryMaxStart
(
limit:
Int
)
extends
RetryMaxStep
with
Product
with
Serializable
sealed
trait
RetryMaxStep
extends
WrapperStep
trait
ScalatestIntegration
extends
WordSpecLike
with
BeforeAndAfterAll
with
ParallelTestExecution
with
CornichonLogger
case class
Scenario
(
name:
String
,
steps:
Vector
[
Step
]
,
ignored:
Boolean
=
false
)
extends
Product
with
Serializable
sealed
trait
ScenarioReport
extends
AnyRef
case class
Session
(
content:
HashMap
[
String
,
Vector
[
String
]]
)
extends
CornichonJson
with
Product
with
Serializable
case class
SimpleMapper
(
generator: () ⇒
String
)
extends
Mapper
with
Product
with
Serializable
case class
SimpleMapperError
[
A
]
(
key:
String
,
e:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
SimpleStepAssertion
[
A
]
(
expected:
A
,
result:
A
)
extends
StepAssertion
[
A
] with
Product
with
Serializable
sealed
trait
Step
extends
AnyRef
sealed
trait
StepAssertion
[
A
]
extends
AnyRef
case class
StepAssertionError
[
A
]
(
expected:
A
,
actual:
A
,
negate:
Boolean
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
StepExecutionError
[
A
]
(
e:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
sealed
trait
StepsReport
extends
AnyRef
case class
SuccessLogInstruction
(
message:
String
,
margin:
Int
,
duration:
Option
[
Duration
] =
None
)
extends
LogInstruction
with
Product
with
Serializable
case class
SuccessRunSteps
(
session:
Session
,
logs:
Vector
[
LogInstruction
]
)
extends
StepsReport
with
Product
with
Serializable
case class
SuccessScenarioReport
(
scenarioName:
String
,
successSteps:
Vector
[
String
]
,
logs:
Vector
[
LogInstruction
]
,
session:
Session
)
extends
ScenarioReport
with
Product
with
Serializable
case class
TextMapper
(
key:
String
,
transform: (
String
) ⇒
String
=
identity
)
extends
Mapper
with
Product
with
Serializable
case class
WithinStart
(
maxDuration:
Duration
)
extends
ConcurrentStep
with
Product
with
Serializable
sealed
trait
WithinStep
extends
WrapperStep
sealed
trait
WrapperStep
extends
Step
Value Members
object
ConcurrentStop
extends
ConcurrentStep
with
Product
with
Serializable
object
ConcurrentlyTimeout
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
CornichonError
extends
Serializable
object
EventuallyBlockSucceedAfterMaxDuration
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
EventuallyConf
extends
Serializable
object
EventuallyStop
extends
EventuallyStep
with
Product
with
Serializable
object
FailedScenarioReport
extends
Serializable
object
GenMapper
extends
Serializable
object
RepeatBlockContainFailedSteps
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
RepeatDuringBlockContainFailedSteps
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
RepeatDuringStop
extends
RepeatDuringStep
with
Product
with
Serializable
object
RepeatStop
extends
RepeatStep
with
Product
with
Serializable
object
Resolver
object
RetryMaxBlockReachedLimit
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
RetryMaxStop
extends
RetryMaxStep
with
Product
with
Serializable
object
ScenarioReport
object
Session
extends
Serializable
object
SimpleMapper
extends
Serializable
object
SuccessScenarioReport
extends
Serializable
object
WithinBlockSucceedAfterMaxDuration
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
WithinStop
extends
ConcurrentStep
with
Product
with
Serializable
Ungrouped