Documentation ¶
Overview ¶
Package proptest contains a collection of generative tests to validate query behaviour in a variety of situations.
Index ¶
- func GenAllQuery(docs []doc.Metadata) gopter.Gen
- func GenConjunctionQuery(docs []doc.Metadata) gopter.Gen
- func GenDisjunctionQuery(docs []doc.Metadata) gopter.Gen
- func GenFieldQuery(docs []doc.Metadata) gopter.Gen
- func GenIdenticalTermAndRegexpQuery(docs []doc.Metadata) gopter.Gen
- func GenNegationQuery(docs []doc.Metadata) gopter.Gen
- func GenQuery(docs []doc.Metadata) gopter.Gen
- func GenRegexpQuery(docs []doc.Metadata) gopter.Gen
- func GenTermQuery(docs []doc.Metadata) gopter.Gen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAllQuery ¶ added in v0.8.1
GenAllQuery generates an all query.
func GenConjunctionQuery ¶
GenConjunctionQuery generates a conjunction query.
func GenDisjunctionQuery ¶
GenDisjunctionQuery generates a disjunction query.
func GenFieldQuery ¶ added in v0.8.1
GenFieldQuery generates a field query.
func GenIdenticalTermAndRegexpQuery ¶
GenIdenticalTermAndRegexpQuery generates a term query and regexp query with the exact same underlying field and pattern.
func GenNegationQuery ¶
GenNegationQuery generates a negation query.
func GenRegexpQuery ¶
GenRegexpQuery generates a regexp query.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.