hypothesis

package
v0.0.0-...-c2d60bb Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnregisteredAsserter is thrown if the type of assertion is not recognized.
	// currentlly supported assertions are `jsonschema` and `code`
	ErrUnregisteredAsserter = errors.New("asserter is not registered")
)

Functions

func Check

func Check(t testable) (result []byte, err error)

Check a hypothesis. Returns the content of the body of the API response and, if the hypothesis is disproven, an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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