convey

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package convey contains special assertion that come handy when using groper properties with goconvey.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldSucceedForAll

func ShouldSucceedForAll(condition interface{}, params ...interface{}) string

ShouldSucceedForAll checks that a check condition is be true for all values, if the condition falsiies the generated values will be shrunk.

"condition" has to be a function with the same number of parameters as the provided generators "gens". The function may return a simple bool (true means that the condition has passed), a string (empty string means that condition has passed), a *PropResult, or one of former combined with 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