com
.
github
.
agourlay
.
cornichon
core
package
core
Visibility
Public
All
Type Members
case class
ColoredLogInstruction
(
message:
String
,
ansiColor:
String
,
margin:
Int
)
extends
LogInstruction
with
Product
with
Serializable
case class
ConcurrentStart
(
factor:
Int
,
maxTime:
Duration
)
extends
ConcurrentStep
with
Product
with
Serializable
sealed
trait
ConcurrentStep
extends
Step
case class
ConcurrentStop
(
factor:
Int
)
extends
ConcurrentStep
with
Product
with
Serializable
trait
CornichonError
extends
Exception
trait
CornichonLogger
extends
AnyRef
case class
DataTableError
(
error:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
DataTableParseError
(
msg:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
DebugStep
(
message: (
Session
) ⇒
String
)
extends
Step
with
Product
with
Serializable
case class
DefaultLogInstruction
(
message:
String
,
margin:
Int
)
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
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
Step
case class
EventuallyStop
(
conf:
EventuallyConf
)
extends
EventuallyStep
with
Product
with
Serializable
case class
ExecutableStep
[
A
]
(
title:
String
,
action: (
Session
) ⇒ (
Session
,
StepAssertion
[
A
])
,
negate:
Boolean
=
false
,
show:
Boolean
=
true
)
extends
Step
with
Product
with
Serializable
case class
FailedRunSteps
(
failedStep:
FailedStep
,
notExecutedStep:
Vector
[
String
]
,
logs:
Vector
[
LogInstruction
]
)
extends
StepsReport
with
Product
with
Serializable
case class
FailedScenarioReport
(
scenarioName:
String
,
failedStep:
FailedStep
,
successSteps:
Vector
[
String
]
,
notExecutedStep:
Vector
[
String
]
,
logs:
Vector
[
LogInstruction
]
)
extends
ScenarioReport
with
Product
with
Serializable
case class
FailedStep
(
step:
Step
,
error:
CornichonError
)
extends
Product
with
Serializable
case class
FeatureDef
(
name:
String
,
scenarios:
Vector
[
Scenario
]
)
extends
Product
with
Serializable
case class
KeyNotFoundInSession
(
key:
String
,
s:
Session
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
sealed
trait
LogInstruction
extends
AnyRef
case class
MalformedHeadersError
(
error:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
MalformedJsonError
[
A
]
(
input:
A
,
exception:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
NotAnArrayError
[
A
]
(
badPayload:
A
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
class
Resolver
extends
AnyRef
case class
ResolverError
(
key:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
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
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
]
(
exception:
Throwable
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
sealed
trait
StepsReport
extends
AnyRef
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
]
)
extends
ScenarioReport
with
Product
with
Serializable
case class
WhileListError
(
msg:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
Value Members
object
EventuallyConf
extends
Serializable
object
ExecutableStep
extends
Serializable
object
FailedScenarioReport
extends
Serializable
object
MalformedConcurrentBlock
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
MalformedEventuallyBlock
extends
Exception
with
CornichonError
with
Product
with
Serializable
object
Session
extends
Serializable
object
StepAssertion
object
SuccessScenarioReport
extends
Serializable
Ungrouped