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"` MigrationsTable string `json:"migrationsTable" yaml:"migrationsTable"` SkipResetSequences bool `json:"skipResetSequences" yaml:"skipResetSequences"` }
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) ZeroValueResult ¶ added in v0.17.0
func (Executor) ZeroValueResult() interface{}
ZeroValueResult return an empty implemtation of this executor result
Click to show internal directories.
Click to hide internal directories.