MCPcopy
hub / github.com/httprunner/httprunner / buildHashicorpGoPlugin

Function buildHashicorpGoPlugin

hrp/runner_test.go:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14)
15
16func buildHashicorpGoPlugin() {
17 log.Info().Msg("[init] build hashicorp go plugin")
18 err := BuildPlugin(tmpl("plugin/debugtalk.go"), tmpl("debugtalk.bin"))
19 if err != nil {
20 log.Error().Err(err).Msg("build hashicorp go plugin failed")
21 os.Exit(code.GetErrorCode(err))
22 }
23}
24
25func removeHashicorpGoPlugin() {
26 log.Info().Msg("[teardown] remove hashicorp go plugin")

Callers 7

TestLocateGoPluginFunction · 0.85
TestBoomerStandaloneRunFunction · 0.85
TestRunCaseWithGoPluginFunction · 0.85
TestRunCaseWithThinkTimeFunction · 0.85
TestRunCaseWithRefAPIFunction · 0.85

Calls 4

GetErrorCodeFunction · 0.92
BuildPluginFunction · 0.85
tmplFunction · 0.85
ErrMethod · 0.80

Tested by

no test coverage detected