# Functions
No description provided by the author
Setup register the given setup function to run at order 0, higher(smaller) order runs first package setup runs once per test package, and should only be registered in TestMain(m *testing.M).
SetupWithOrder register the given setup function to run at given order, higher(smaller) order runs first package setup runs once per test package, and should only be registered in TestMain(m *testing.M).
Teardown register the given teardown function to run at order 0, higher(smaller) order runs LAST package teardown runs once per test package, and should only be registered in TestMain(m *testing.M).
TeardownWithOrder register the given teardown function to run at given order, higher(smaller) order runs LAST package teardown runs once per test package, and should only be registered in TestMain(m *testing.M).
TestOptions register per-test options at package level: only declared once in TestMain(m *testing.M) All test.Options are applied once per Test*().
TestSetup is a convenient function equivalent to TestOptions(test.Setup(fn)).
TestSetupWithOrder is a convenient function equivalent to TestOptions(test.Hooks(test.NewSetupHook(order, fn))).
TestTeardown is a convenient function equivalent to TestOptions(test.Teardown(fn)).
TestTeardownWithOrder is a convenient function equivalent to TestOptions(test.Hooks(test.NewTeardownHook(order, fn))).
WithOptions group multiple PackageOptions into one, typically used for other test utilities to provide single entry point of certain feature.
# Constants
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
SetupFunc is package level setup function that run once per package.
TeardownFunc is package level teardown function that run once per package.