assertions

package
v0.0.0-...-2157255 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parallell

func Parallell(ctx context.Context, t Testable) error

Types

type Assertable

type Assertable interface {
	Assert(*http.Response, map[string]interface{}) error
}

type Code

type Code struct{}

func (*Code) Assert

func (ca *Code) Assert(r *http.Response, args map[string]interface{}) error

type JSONSchema

type JSONSchema struct{}

func (*JSONSchema) Assert

func (jsa *JSONSchema) Assert(r *http.Response, args map[string]interface{}) error

type Testable

type Testable interface {
	Do() (*http.Response, error)
	Assertions() map[string]map[string]interface{}
}

Jump to

Keyboard shortcuts

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