MCPcopy Create free account
hub / github.com/kataras/iris / TestConfigurationGlobal

Function TestConfigurationGlobal

configuration_test.go:113–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

111}
112
113func TestConfigurationGlobal(t *testing.T) {
114 t.Cleanup(func() {
115 os.Remove(homeConfigurationFilename(".yml"))
116 })
117
118 createGlobalConfiguration(t)
119
120 testConfigurationGlobal(t, WithGlobalConfiguration)
121 testConfigurationGlobal(t, WithConfiguration(YAML(globalConfigurationKeyword)))
122}
123
124func testConfigurationGlobal(t *testing.T, c Configurator) {
125 app := New().Configure(c)

Callers

nothing calls this directly

Calls 7

testConfigurationGlobalFunction · 0.85
WithConfigurationFunction · 0.85
YAMLFunction · 0.85
CleanupMethod · 0.80
RemoveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…