verify

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package verify starts a predicate chain that will let the current test continue even if the assertions fails.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func That

func That(t predicate.T, v interface{}, ctx ...Context) *builder.Builder

That captrues the test context and a value for the purpose of building and evaluating a test predicate through call chaining. The current test will proceed even if the predicate fails.

Types

type Context added in v0.6.4

type Context = predicate.ContextValue

Context captures an additional context value to be displayed upon failure.

Jump to

Keyboard shortcuts

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