Documentation ¶
Overview ¶
Package testutil reduces the boilerplate for testing in LUCI Config.
Index ¶
Constants ¶
View Source
const AppID = "luci-config-dev"
View Source
const ServiceAccount = "luci-config@luci-config-dev.iam.gserviceaccount.com"
View Source
const TestGsBucket = "test-bucket"
Variables ¶
This section is empty.
Functions ¶
func InjectConfigSet ¶
func InjectConfigSet(ctx context.Context, t testing.TB, cfgSet config.Set, configs map[string]proto.Message)
InjectConfigSet writes a new revision for the provided config set.
The revision ID is a monotonically increasing integer.
func InjectSelfConfigs ¶
InjectSelfConfigs is a shorthand for updating LUCI Config self config.
func SetupContext ¶
SetupContext sets up testing common context for LUCI Config tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.