testconf

package
v0.0.0-...-c8b7f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testconf provides utilities to create test configs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigAndProject

func ConfigAndProject(t *testing.T, data *ConfigData) (*config.Config, *config.Project)

ConfigAndProject gets a test config and project.

func ConfigBeforeInit

func ConfigBeforeInit(t *testing.T, data *ConfigData) *config.Config

ConfigBeforeInit gets config that did not call the init() function.

Types

type ConfigData

type ConfigData struct {
	ExtraProjectConfig string
}

ConfigData configures a config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL