suitetest

package
v0.0.0-...-24e094a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserStore

func UserStore(t *testing.T, us suite.UserStore, beforeEach, afterEach func())
note: We didn't name this func TestUserStore, although it's testing UserStore. That's because the name of this package already

has test in it(suitetest). But if you put this func in the same package as the type(UserStore), we would name it TestUserStore. suitetest.UserStore

Types

type UserStoreSuite

type UserStoreSuite struct {
	suite.UserStore

	BeforeEach func()
	AfterEach  func()
}

func (*UserStoreSuite) All

func (uss *UserStoreSuite) All(t *testing.T)

Jump to

Keyboard shortcuts

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