func CreateRunner(cfg config.TestConfig) (Runner, error) {
	creator, ok := creators[cfg.Type]
	if !ok {
		return nil, ErrInvalidType
	}

	return creator(cfg)
}
// CreateRunner creates a test from the given config.
CreateRunner creates a test from the given config.
// CreateRunner creates a test from the given config .
func CreateRunner(cfg config.TestConfig) (Runner, error) {
	creator, ok := creators[cfg.Type]
	if !ok {
		return nil, ErrInvalidType
	}
	return creator(cfg)
}
func CreateRunner ( cfg config . TestConfig ) ( Runner , error ) { creator , ok := creators [ cfg . Type ] if ! ok { return nil , ErrInvalidType } return creator ( cfg ) }
CreateRunner creates a test from the given config.
CreateRunner creates a test from the given config .