run.qontract.core.ScenarioInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qontract-core Show documentation
Show all versions of qontract-core Show documentation
A Contract Testing Tool that leverages Gherkin to describe APIs in a human readable and machine enforceable manner
package run.qontract.core
import run.qontract.core.pattern.Examples
import run.qontract.core.pattern.KafkaMessagePattern
import run.qontract.core.pattern.Pattern
import run.qontract.core.value.Value
data class ScenarioInfo(
val scenarioName: String = "",
val httpRequestPattern: HttpRequestPattern = HttpRequestPattern(),
val httpResponsePattern: HttpResponsePattern = HttpResponsePattern(),
val expectedServerState: Map = emptyMap(),
val patterns: Map = emptyMap(),
val fixtures: Map = emptyMap(),
val examples: List = emptyList(),
val kafkaMessage: KafkaMessagePattern? = null,
val ignoreFailure: Boolean = false
)