proptest

package
v0.15.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package proptest contains a collection of generative tests to validate query behaviour in a variety of situations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenAllQuery added in v0.8.1

func GenAllQuery(docs []doc.Document) gopter.Gen

GenAllQuery generates an all query.

func GenConjunctionQuery

func GenConjunctionQuery(docs []doc.Document) gopter.Gen

GenConjunctionQuery generates a conjunction query.

func GenDisjunctionQuery

func GenDisjunctionQuery(docs []doc.Document) gopter.Gen

GenDisjunctionQuery generates a disjunction query.

func GenFieldQuery added in v0.8.1

func GenFieldQuery(docs []doc.Document) gopter.Gen

GenFieldQuery generates a field query.

func GenIdenticalTermAndRegexpQuery

func GenIdenticalTermAndRegexpQuery(docs []doc.Document) gopter.Gen

GenIdenticalTermAndRegexpQuery generates a term query and regexp query with the exact same underlying field and pattern.

func GenNegationQuery

func GenNegationQuery(docs []doc.Document) gopter.Gen

GenNegationQuery generates a negation query.

func GenQuery

func GenQuery(docs []doc.Document) gopter.Gen

GenQuery generates a query.

func GenRegexpQuery

func GenRegexpQuery(docs []doc.Document) gopter.Gen

GenRegexpQuery generates a regexp query.

func GenTermQuery

func GenTermQuery(docs []doc.Document) gopter.Gen

GenTermQuery generates a term query.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL