testutil

package
v3.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: OSL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoPact = errors.New("no pact setup")

ErrNoPact error

Functions

func PactEncodeLike

func PactEncodeLike(model []byte) string

PactEncodeLike encodes a byte slice from json.Marshal or jsonpb into a pact type-like representation

func WithPact

func WithPact(t *testing.T, from, to string, fs ...func(*testing.T, *dsl.Pact))

WithPact runs a test with a pact

Types

This section is empty.

Jump to

Keyboard shortcuts

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