NewManagerWithEngine 使用现有引擎创建批量管理器
(engine *core.Engine, config *types.Config)
| 34 | |
| 35 | // NewManagerWithEngine 使用现有引擎创建批量管理器 |
| 36 | func NewManagerWithEngine(engine *core.Engine, config *types.Config) *Manager { |
| 37 | return &Manager{ |
| 38 | engine: engine, |
| 39 | config: config, |
| 40 | formatter: report.NewFormatter(config), |
| 41 | tableFormatter: report.NewTableFormatter(config), |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // Start 启动批量管理器 |
| 46 | func (bm *Manager) Start() error { |
no test coverage detected