Documentation ¶
Overview ¶
Package gormtestsupport provides all the required functions to manage the lifecycle and common operations against our gorm database in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBTestSuite ¶
type DBTestSuite struct { suite.DBTestSuite Configuration *configuration.ConfigurationData Application application.Application }
DBTestSuite is a base for tests using a gorm db
func NewDBTestSuite ¶
func NewDBTestSuite() DBTestSuite
NewDBTestSuite instantiates a new DBTestSuite
func (*DBTestSuite) SetupSuite ¶
func (s *DBTestSuite) SetupSuite()
SetupSuite implements suite.SetupAllSuite
Click to show internal directories.
Click to hide internal directories.