Documentation
¶
Overview ¶
Package test 初始化测试环境
Index ¶
- type Suite
- func (s *Suite) Assertion() *assert.Assertion
- func (s *Suite) Close()
- func (s *Suite) DB() *orm.DB
- func (s *Suite) Delete(url string) *rest.Request
- func (s *Suite) Get(url string) *rest.Request
- func (s *Suite) Module() *cmfx.Module
- func (s *Suite) NewModule(id string) *cmfx.Module
- func (s *Suite) NewRequest(method, url string) *rest.Request
- func (s *Suite) Patch(url string, body []byte) *rest.Request
- func (s *Suite) Post(url string, body []byte) *rest.Request
- func (s *Suite) Put(url string, body []byte) *rest.Request
- func (s *Suite) Router() *web.Router
- func (s *Suite) TableExists(name string) *Suite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.