testhelper

package
v2.7.10 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRunCommand

func MustRunCommand(t *testing.T, cmd *cobra.Command, args ...string) string

func RunCommand

func RunCommand(t *testing.T, cmd *cobra.Command, args ...string) error

Types

type TestBoltDb

type TestBoltDb struct {
	// contains filtered or unexported fields
}

func NewTestBoltDb

func NewTestBoltDb(t *testing.T) *TestBoltDb

func (*TestBoltDb) Close

func (t *TestBoltDb) Close()

func (*TestBoltDb) Name

func (t *TestBoltDb) Name() string

Jump to

Keyboard shortcuts

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