Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModuleMainT ¶ added in v0.0.4
func ModuleMainT() *application.ModuleBuilder
ModuleMainT 创建模块 github.com/starter-go/units
func ModuleTestT ¶ added in v0.0.4
func ModuleTestT() *application.ModuleBuilder
ModuleTestT 创建模块 github.com/starter-go/units
Types ¶
type Config ¶ added in v0.0.4
type Config struct { // Args 启动的命令行参数 Args []string // Cases : 一个名称列表(以','号分隔); 或者,'all' 表示执行所以的测试用例 Cases string // 测试的目标模块 Module application.Module // Properties 附加的属性表 Properties map[string]string // 测试上下文 T *testing.T // 使用 panic 代替 error UsePanic bool }
Config ...
type Registration ¶
Registration 测试单元注册信息
Click to show internal directories.
Click to hide internal directories.