MCPcopy Create free account
hub / github.com/gavv/httpexpect / NewEnvironment

Function NewEnvironment

environment.go:32–34  ·  view source on GitHub ↗

NewEnvironment returns a new Environment. If reporter is nil, the function panics. Example: env := NewEnvironment(t)

(reporter Reporter)

Source from the content-addressed store, hash-verified

30//
31// env := NewEnvironment(t)
32func NewEnvironment(reporter Reporter) *Environment {
33 return newEnvironment(newChainWithDefaults("Environment()", reporter))
34}
35
36// NewEnvironmentC returns a new Environment with config.
37//

Callers 3

TestChain_EnvFunction · 0.85

Calls 2

newEnvironmentFunction · 0.85
newChainWithDefaultsFunction · 0.85

Tested by 3

TestChain_EnvFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…