testutil

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

* @Author: Daniel TAN * @Description: * @Date: 2021-03-03 15:46:55 * @LastEditTime: 2021-06-28 19:22:28 * @LastEditors: Daniel TAN * @FilePath: /tcs/Users/01444547/IdeaProjects/trinitygo/testutil/util.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayTest

type PlayTest interface {
	Match(args ...interface{})
}

PlayTest interface for play test

func Play

func Play(t *testing.T, impl interface{}, funcName string, args ...interface{}) PlayTest

Play play func for impl not support unexported func

func PlayUnexported added in v0.0.44

func PlayUnexported(t *testing.T, args ...interface{}) PlayTest

PlayUnexported play func for impl for un exported func

Jump to

Keyboard shortcuts

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