MCPcopy Index your code
hub / github.com/coder/envbox / TestMain

Function TestMain

integration/main_test.go:14–20  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

12)
13
14func TestMain(m *testing.M) {
15 // Build the latest version of envbox to keep in sync with any developer
16 // changes.
17 buildEnvbox()
18
19 os.Exit(m.Run())
20}
21
22func buildEnvbox() {
23 dir, err := exec.Command("git", "rev-parse", "--show-toplevel").CombinedOutput()

Callers

nothing calls this directly

Calls 2

buildEnvboxFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected