assert

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XFail

func XFail(reason string, f func(), condition ...bool)

XFail replaces the default Fail handler with a XFail for one occurrence. XFail skips the test once it fails and leaves a XFAIL label on the message. It is useful to mark tests as XFail when one wants them to run even though they fail, monitoring and collecting information. 'condition' can be used to specify whether the test should be marked as XFail

Types

This section is empty.

Jump to

Keyboard shortcuts

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