Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Global Restful API tester signleton.
USAGE: Init mvc.Wter configs before use it as follow: func init() { // logger.SilentLoggers() // silent logger if comment out. mvc.Wter.Author = "WENGOLD-V2.0" mvc.Wter.TokenApi = "http://192.168.1.100:8000/server/token?id=%s" mvc.Wter.User = "12345678" }
Functions ¶
Types ¶
type Option ¶
type Option func(t *helper)
Unit test helper options setter.
type TestCase ¶
type TestCase struct { Case string // Current excute unit test case. User string // Http request author uuid. Want int // Http response code for pass current test. Params any // Http request params, body of POST method, form data of GET method. }
Test case datas for multiple testing.
Click to show internal directories.
Click to hide internal directories.