com.github.agourlay.cornichon.core

Members list

Type members

Classlikes

case class AfterFeatureError(originalError: CornichonError) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BasicError(error: String) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BeforeFeatureError(originalError: CornichonError) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show 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)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Config

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BasicError
object EmptyKey
class IllegalKey
trait HttpError
class RequestError
trait JsonError
class NotAnArrayError[A]
class MatcherError
Show all

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class CornichonException(m: String) extends Exception, NoStackTrace

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class DebugLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class Done

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Done
case object Done extends Done

Attributes

Companion
class
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Done
class Object
trait Matchable
class Any
Show all
Self type
Done.type
case object EmptyKey extends CornichonError

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
EmptyKey.type
case class FailedStep(step: Step, errors: NonEmptyList[CornichonError])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FailedStep

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FailedStep.type
case class FailureLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FailureScenarioReport(scenarioName: String, failedSteps: NonEmptyList[FailedStep], session: Session, logStack: List[LogInstruction], duration: FiniteDuration, seed: Long) extends ScenarioReport

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FeatureContext(beforeSteps: List[Step], finallySteps: List[Step], featureIgnored: Boolean, focusedScenarios: Set[String], withSeed: Option[Long], customExtractors: Map[String, Mapper], allMatchers: Map[String, List[Matcher]])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class FeatureDef(name: String, scenarios: List[Scenario], ignored: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FeatureRunner(featureDef: FeatureDef, baseFeature: BaseFeature, explicitSeed: Option[Long])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FeatureRunner

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Generator[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class HooksFeatureError(beforeError: CornichonError, afterError: CornichonError) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class IgnoreScenarioReport(scenarioName: String, reason: String, session: Session) extends ScenarioReport

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class IllegalKey(key: String) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class IndexNotFoundForKey(key: String, index: Int, values: Vector[String]) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class InfoLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class KeyNotFoundInSession(key: String, s: Session) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class KeyWithoutPreviousValue(key: String, s: Session) extends CornichonError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait LogDecoratorStep extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Known subtypes
sealed trait LogInstruction

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait LogValueStep[A] extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Known subtypes
class AssertStep
class DebugStep
class MutableRandomContext(seed: Long, seededRandom: Random) extends RandomContext

Attributes

Supertypes
class Object
trait Matchable
class Any
object NoOpStep extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Self type
NoOpStep.type
case class NoShowLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait NoValue

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NoValue
case object NoValue extends NoValue

Attributes

Companion
trait
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait NoValue
class Object
trait Matchable
class Any
Show all
Self type
NoValue.type
case object NoValueGenerator extends Generator[NoValue]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case class OptionalValueGenerator[A](name: String, gen: () => Option[A]) extends Generator[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Generator[A]
class Object
trait Matchable
class Any
Show all
case class PendingScenarioReport(scenarioName: String, session: Session) extends ScenarioReport

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RandomContext

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class Resource(title: String, acquire: Step, release: Step)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RunState(customExtractors: Map[String, Mapper], allMatchers: Map[String, List[Matcher]], randomContext: RandomContext, session: Session, logStack: List[LogInstruction], depth: Int, cleanupSteps: List[Step])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object RunState

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RunState.type
case class Scenario(name: String, steps: List[Step], ignored: Option[String], pending: Boolean, focused: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ScenarioReport

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class ScenarioTitleLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Session(content: Map[String, Vector[String]]) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Session

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Session.type
case class SessionKey(name: String, index: Option[Int])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SessionKey

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SessionKey.type
case class SessionValueGenerator[A](name: String, gen: Session => A) extends Generator[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Generator[A]
class Object
trait Matchable
class Any
Show all
trait SessionValueStep extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Known subtypes
class EffectStep
class EffectStep
trait SimpleWrapperStep extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Known subtypes
sealed trait Step

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Step

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Step.type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SuccessLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SuccessScenarioReport(scenarioName: String, session: Session, logStack: List[LogInstruction], duration: FiniteDuration, seed: Long) extends ScenarioReport

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ValueGenerator[A](name: String, gen: () => A) extends Generator[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Generator[A]
class Object
trait Matchable
class Any
Show all
case class WarningLogInstruction(message: String, marginNb: Int, duration: Option[Duration]) extends LogInstruction

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait WrapperStep extends Step

Attributes

Supertypes
trait Step
class Object
trait Matchable
class Any
Known subtypes
class CheckModelStep[A, B, C, D, E, F]
class ForAllStep[A, B, C, D, E, F]
class AttachStep
class FlatMapStep
class RepeatStep
class RetryMaxStep
class WithinStep
Show all