Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "dbfixtures"
Name of the executor.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { Files []string `json:"files" yaml:"files"` Folder string `json:"folder" yaml:"folder"` Database string `json:"database" yaml:"database"` DSN string `json:"dsn" yaml:"dsn"` Schemas []string `json:"schemas" yaml:"schemas"` Migrations string `json:"migrations" yaml:"migrations"` }
Executor is a venom executor that can load fixtures in many databases, using YAML schemas.
func (Executor) GetDefaultAssertions ¶
func (e Executor) GetDefaultAssertions() venom.StepAssertions
GetDefaultAssertions return the default assertions of the executor.
func (Executor) Run ¶
func (e Executor) Run(testCaseContext venom.TestCaseContext, l venom.Logger, step venom.TestStep) (venom.ExecutorResult, error)
Run implements the venom.Executor interface for Executor.
func (Executor) ZeroValueResult ¶ added in v0.17.0
func (Executor) ZeroValueResult() venom.ExecutorResult
ZeroValueResult return an empty implemtation of this executor result
Click to show internal directories.
Click to hide internal directories.