intest

package
v1.1.0-beta.0...-71d1252 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const EnableAssert = false

EnableAssert checks if the code is running in integration test.

View Source
const InTest = false

InTest checks if the code is running in test.

Variables

This section is empty.

Functions

func Assert

func Assert(_ bool, _ ...any)

Assert is a stub function in release build. See the same function in `util/intest/assert.go` for the real implement in test.

func AssertFunc

func AssertFunc(_ func() bool, _ ...any)

AssertFunc is a stub function in release build. See the same function `util/intest/assert.go` for the real implement in test.

func AssertNoError

func AssertNoError(_ error, _ ...any)

AssertNoError is a stub function in release build. See the same function in `util/intest/assert.go` for the real implement in test.

func AssertNotNil

func AssertNotNil(_ any, _ ...any)

AssertNotNil is a stub function in release build. See the same function in `util/intest/assert.go` for the real implement in test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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