MCPcopy
hub / github.com/httprunner/httprunner / TestRunCaseWithPluginJSON

Function TestRunCaseWithPluginJSON

hrp/runner_test.go:159–168  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

157}
158
159func TestRunCaseWithPluginJSON(t *testing.T) {
160 buildHashicorpGoPlugin()
161 defer removeHashicorpGoPlugin()
162
163 testCase := TestCasePath(demoTestCaseWithPluginJSONPath)
164 err := NewRunner(nil).Run(&testCase) // hrp.Run(testCase)
165 if err != nil {
166 t.Fatal()
167 }
168}
169
170func TestRunCaseWithPluginYAML(t *testing.T) {
171 buildHashicorpGoPlugin()

Callers

nothing calls this directly

Calls 5

buildHashicorpGoPluginFunction · 0.85
removeHashicorpGoPluginFunction · 0.85
TestCasePathTypeAlias · 0.85
NewRunnerFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected