package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Dec 20, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewSuite(a *assert.Assertion) *Suite
func (s *Suite) Assertion() *assert.Assertion
Close 关闭服务
如果未手动调用,则在 testing.TB.Cleanup 中自动关闭。
部分功能需要手动调用此方法,比如要主动关闭服务才能退出的路由测试。
func (s *Suite) DB() *orm.DB
Source Files
¶
Click to show internal directories.
Click to hide internal directories.