com.github.agourlay.cornichon.core
Members list
Type members
Classlikes
case class AfterFeatureError(originalError: CornichonError) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class BasicError(error: String) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class BeforeFeatureError(originalError: CornichonError) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
final case class Config(executeScenariosInParallel: Boolean, scenarioExecutionParallelismFactor: Int, requestTimeout: FiniteDuration, globalBaseUrl: String, traceRequests: Boolean, warnOnDuplicateHeaders: Boolean, failOnDuplicateHeaders: Boolean, addAcceptGzipByDefault: Boolean, disableCertificateVerification: Boolean, followRedirect: Boolean, enableHttp2: Boolean)
object Config
trait CornichonError
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AfterFeatureErrorclass BasicErrorclass BeforeFeatureErrorobject EmptyKeyclass HooksFeatureErrorclass IllegalKeyclass IndexNotFoundForKeyclass KeyNotFoundInSessionclass KeyWithoutPreviousValueclass StepExecutionErrorclass DataTableErrorclass DataTableParseErrorobject MockHttpServerErrorclass MockHttpServerStartErrortrait HttpErrorclass RequestErrorclass StatusNonExpected[A]class TimeoutErrorAfterclass MalformedUriErrorobject InvalidIgnoringConfigErrorobject UseIgnoringEachtrait JsonErrorclass JsonDecodingFailureclass JsonPathErrorclass JsonPathParsingErrorclass MalformedGraphQLJsonError[A]class MalformedJsonError[A]class NotAnArrayError[A]class NotStringFieldErrorclass PathSelectsNothingclass WhitelistingErrorclass NotEnoughMessagesPolledclass MatcherAssertionErrorclass MatcherErrorclass MatcherParsingErrorclass MatcherUndefinedclass AmbiguousKeyDefinitionclass PlaceholderErrorclass PlaceholderParsingErrorclass RandomMapperError[A]class SessionMapperError[A]class SimpleMapperError[A]class CollectionEmptyAssertionError[A]class CollectionNotEmptyAssertionError[A]class CollectionSizeAssertionError[A]class CustomMessageAssertionError[A]class GenericEqualityAssertionError[A]class GreaterThanAssertionError[A]class LessThanAssertionError[A]class RegexAssertionErrorclass ConcurrentlyErrorclass ConcurrentlyTimeoutobject EventuallyBlockMaxInactivityclass RepeatConcurrentlyErrorShow all
object CornichonError
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CornichonError.type
case class CornichonException(m: String) extends Exception, NoStackTrace
Attributes
- Supertypes
-
trait Producttrait Equalstrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
case class DebugLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
case object EmptyKey extends CornichonError
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
EmptyKey.type
object FailedStep
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FailedStep.type
case class FailureLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
case class FailureScenarioReport(scenarioName: String, failedSteps: NonEmptyList[FailedStep], session: Session, logStack: List[LogInstruction], duration: FiniteDuration, seed: Long) extends ScenarioReport
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScenarioReportclass Objecttrait Matchableclass AnyShow all
object FeatureContext
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FeatureContext.type
case class FeatureRunner(featureDef: FeatureDef, baseFeature: BaseFeature, explicitSeed: Option[Long])
object FeatureRunner
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FeatureRunner.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object NoValueGeneratorclass OptionalValueGenerator[A]class SessionValueGenerator[A]class ValueGenerator[A]
case class HooksFeatureError(beforeError: CornichonError, afterError: CornichonError) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class IgnoreScenarioReport(scenarioName: String, reason: String, session: Session) extends ScenarioReport
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScenarioReportclass Objecttrait Matchableclass AnyShow all
case class IllegalKey(key: String) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class IndexNotFoundForKey(key: String, index: Int, values: Vector[String]) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class InfoLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
case class KeyNotFoundInSession(key: String, s: Session) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class KeyWithoutPreviousValue(key: String, s: Session) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
trait LogDecoratorStep extends Step
Attributes
- Supertypes
- Known subtypes
-
class AttachAsStepclass LogDurationStep
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DebugLogInstructionclass FailureLogInstructionclass InfoLogInstructionclass NoShowLogInstructionclass SuccessLogInstructionclass WarningLogInstructionShow all
object LogInstruction
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LogInstruction.type
trait LogValueStep[A] extends Step
Attributes
- Supertypes
- Known subtypes
-
class AssertStepclass DebugStep
class MutableRandomContext(seed: Long, seededRandom: Random) extends RandomContext
Attributes
- Supertypes
case class NoShowLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
trait NoValue
case object NoValueGenerator extends Generator[NoValue]
Attributes
- Supertypes
- Self type
-
NoValueGenerator.type
case class OptionalValueGenerator[A](name: String, gen: () => Option[A]) extends Generator[A]
case class PendingScenarioReport(scenarioName: String, session: Session) extends ScenarioReport
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScenarioReportclass Objecttrait Matchableclass AnyShow all
trait RandomContext
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MutableRandomContext
object RandomContext
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RandomContext.type
object RunState
trait ScenarioContext
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ScenarioContext
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScenarioContext.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FailureScenarioReportclass IgnoreScenarioReportclass PendingScenarioReportclass SuccessScenarioReport
object ScenarioReport
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ScenarioReport.type
object ScenarioRunner
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScenarioRunner.type
case class ScenarioTitleLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
object Session
object SessionKey
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SessionKey.type
case class SessionValueGenerator[A](name: String, gen: Session => A) extends Generator[A]
trait SessionValueStep extends Step
Attributes
- Supertypes
- Known subtypes
-
class EffectStepclass EffectStep
trait SimpleWrapperStep extends Step
Attributes
- Supertypes
- Known subtypes
-
class ScenarioResourceStep
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait LogDecoratorStepclass AttachAsStepclass LogDurationSteptrait LogValueStep[A]class AssertStepclass DebugStepobject NoOpSteptrait SessionValueStepclass EffectStepclass EffectSteptrait SimpleWrapperStepclass ScenarioResourceSteptrait WrapperStepclass AttachStepclass ConcurrentlyStepclass EventuallyStepclass FlatMapStepclass RepeatConcurrentlyStepclass RepeatDuringStepclass RepeatStepclass RepeatWithStepclass RetryMaxStepclass WithBlockScopedResourceclass WithDataInputStepclass WithResourceStepclass WithinStepShow all
object Step
case class StepExecutionError(e: Throwable) extends CornichonError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CornichonErrorclass Objecttrait Matchableclass AnyShow all
case class SuccessLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
case class SuccessScenarioReport(scenarioName: String, session: Session, logStack: List[LogInstruction], duration: FiniteDuration, seed: Long) extends ScenarioReport
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScenarioReportclass Objecttrait Matchableclass AnyShow all
case class ValueGenerator[A](name: String, gen: () => A) extends Generator[A]
case class WarningLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogInstructionclass Objecttrait Matchableclass AnyShow all
trait WrapperStep extends Step
Attributes
- Supertypes
- Known subtypes
-
class AttachStepclass ConcurrentlyStepclass EventuallyStepclass FlatMapStepclass RepeatConcurrentlyStepclass RepeatDuringStepclass RepeatStepclass RepeatWithStepclass RetryMaxStepclass WithBlockScopedResourceclass WithDataInputStepclass WithResourceStepclass WithinStepShow all
Types
In this article