test

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FullTestSuiteModelsCount = 4

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(t *testing.T, a interface{}, b interface{}, message ...string)

AssertEqual checks if values are equal

func AssertNotEqual

func AssertNotEqual(t *testing.T, a interface{}, b interface{}, message ...string)

AssertNotEqual checks if values are not equal

Types

type TestSuite

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

func (*TestSuite) CleanTestSuite

func (ts *TestSuite) CleanTestSuite(t *testing.T)

CleanTestSuite Clean a test suite

func (*TestSuite) CreateFullTestSuite

func (ts *TestSuite) CreateFullTestSuite(t *testing.T) (directoryPath string)

CreateFullTestSuite Create a full test suite Please clean test suite after use (defer ts.CleanTestSuite())

func (*TestSuite) CreateModelsFolderFullTestSuite

func (ts *TestSuite) CreateModelsFolderFullTestSuite(t *testing.T) (directoryPath string)

CreateModelsFolderFullTestSuite Create a full test suite Please delete the directory after use (defer test.Clean())

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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