MCPcopy Index your code
hub / github.com/zalando/skipper / TestLoadPlugins

Function TestLoadPlugins

plugins_test.go:5–17  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3import "testing"
4
5func TestLoadPlugins(t *testing.T) {
6 if testing.Short() {
7 t.Skip()
8 }
9
10 o := Options{
11 PluginDirs: []string{"./_test_plugins"},
12 FilterPlugins: [][]string{{"filter_noop"}},
13 }
14 if err := o.findAndLoadPlugins(); err != nil {
15 t.Fatalf("Failed to load plugins: %s", err)
16 }
17}
18
19func TestLoadPluginsFail(t *testing.T) {
20 if testing.Short() {

Callers

nothing calls this directly

Calls 1

findAndLoadPluginsMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…