utils

package
v0.0.0-...-8c1a93a Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintTest

func PrintTest(f func(), expected []string) error

PrintTest 함수는 인자로 전달하는 함수 내부에서 표준 출력으로 출력한 문자열과 두 번째 인자로 전달한 문자열을 비교한다. 만약 그 내용이 다르면 오류를 반환한다.

func RunUntil

func RunUntil(t T, f func(Holder), duration int)

RunUntil function testing with running duration limit

Types

type Holder

type Holder interface {
	Done()
	// contains filtered or unexported methods
}

Holder wait ending of test function

type T

type T interface {
	Fatal(args ...interface{})
}

T interface abstract testing.T

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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