package
1.13.12
Repository: https://github.com/qiniu/x.git
Documentation: pkg.go.dev

# Functions

Error is equivalent to Log() followed by Fail().
Errorf is equivalent to Logf() followed by Fail().
Fatal is equivalent to Log() followed by FailNow().
Fatalf is equivalent to Logf() followed by FailNow().
Log formats its arguments using default formatting, analogous to Print(), and records the text in the error log.
Logf formats its arguments according to the format, analogous to Printf(), and records the text in the error log.
New creates a testing object.
PropVal returns property value of an object.
StartExpecting starts expecting with a capture mode.

# Constants

CapOutput - capture stdout and stderr.
CapStderr - capture stderr.
CapStdout - capture stdout.

# Structs

Expecting represents a expecting object.
TestCase represents a test case.
Testing represents a testing object.

# Type aliases

Frame represents a program counter inside a stack frame.