Documentation ¶
Index ¶
- Constants
- Variables
- func ExecLatestTest(t *testing.T, dependencyName, moduleName string, ...)
- func ExecMuzzle(t *testing.T, dependencyName, moduleName string, ...)
- func ExpectContains(t *testing.T, text, expect string)
- func ExpectContainsAllItem(t *testing.T, actualItems []string, expectedItems ...string)
- func ExpectContainsNothing(t *testing.T, actualItems []string)
- func ExpectInstrumentContains(t *testing.T, log string, rule string)
- func ExpectInstrumentNotContains(t *testing.T, log string, rule string)
- func ExpectNotContains(t *testing.T, text, expect string)
- func ExpectPreprocessContains(t *testing.T, log string, rule string)
- func ExpectPreprocessNotContains(t *testing.T, log string, rule string)
- func ExpectSame(t *testing.T, expected, actual string)
- func ExpectStderrContains(t *testing.T, expect string)
- func ExpectStdoutContains(t *testing.T, expect string)
- func ExpectWhen(t *testing.T, prediction func() (res bool, msg string))
- func FetchVersion(t *testing.T, dependency, version string) string
- func ReadInstrumentLog(t *testing.T, fileName string) string
- func ReadPreprocessLog(t *testing.T, fileName string) string
- func RunApp(t *testing.T, appName string, env ...string) (string, string)
- func RunCmd(args []string) *exec.Cmd
- func RunGoBuild(t *testing.T, args ...string)
- func RunInstrument(t *testing.T, args ...string)
- func RunInstrumentFallible(t *testing.T, args ...string)
- func TBuildAppNoop(t *testing.T, appName string, muzzleClasses ...string)
- func TestBasicFastHttp(t *testing.T, env ...string)
- func TestBasicFastHttps(t *testing.T, env ...string)
- func TestBasicGrpc(t *testing.T, env ...string)
- func TestBasicHertz(t *testing.T, env ...string)
- func TestBasicHertzWithException(t *testing.T, env ...string)
- func TestBasicHertzWithHook(t *testing.T, env ...string)
- func TestBasicHertzWithRegex(t *testing.T, env ...string)
- func TestBasicMux(t *testing.T, env ...string)
- func TestBasicNetHttp(t *testing.T, env ...string)
- func TestBatch(t *testing.T, env ...string)
- func TestCrudMongo(t *testing.T, env ...string)
- func TestCursor(t *testing.T, env ...string)
- func TestExecutingCommands(t *testing.T, env ...string)
- func TestExecutingUnsupporetedCommands(t *testing.T, env ...string)
- func TestGinHTML(t *testing.T, env ...string)
- func TestGinPattern(t *testing.T, env ...string)
- func TestGoLog(t *testing.T, env ...string)
- func TestGormCrud1220(t *testing.T, env ...string)
- func TestGormCrud1231(t *testing.T, env ...string)
- func TestGrpcStatus(t *testing.T, env ...string)
- func TestGrpcStream(t *testing.T, env ...string)
- func TestHttp2(t *testing.T, env ...string)
- func TestHttpMetric(t *testing.T, env ...string)
- func TestHttps(t *testing.T, env ...string)
- func TestKratosGrpc(t *testing.T, env ...string)
- func TestKratosHttp(t *testing.T, env ...string)
- func TestLogrus(t *testing.T, env ...string)
- func TestMuxMiddleware(t *testing.T, env ...string)
- func TestMuxPattern(t *testing.T, env ...string)
- func TestMuxPrefix(t *testing.T, env ...string)
- func TestRedigoDoCommands(t *testing.T, env ...string)
- func TestRedigoExecutingCommands(t *testing.T, env ...string)
- func TestRedigoTransactions(t *testing.T, env ...string)
- func TestRedigoUnsupportedCommands(t *testing.T, env ...string)
- func TestRedisConn(t *testing.T, env ...string)
- func TestRedisRing(t *testing.T, env ...string)
- func TestRedisTransactions(t *testing.T, env ...string)
- func TestRedisUniversal(t *testing.T, env ...string)
- func TestV8ExecutingCommands(t *testing.T, env ...string)
- func TestV8ExecutingUnsupporetedCommands(t *testing.T, env ...string)
- func TestV8RedisConn(t *testing.T, env ...string)
- func TestV8RedisRing(t *testing.T, env ...string)
- func TestV8RedisTransactions(t *testing.T, env ...string)
- func TestV8RedisUniversal(t *testing.T, env ...string)
- func TestZap(t *testing.T, env ...string)
- func UseApp(appName string)
- func UseTestRules(name string) string
- type TestCase
Constants ¶
View Source
const (
ExecName = "otelbuild"
)
Variables ¶
View Source
var TestCases = make([]*TestCase, 0)
Functions ¶
func ExecLatestTest ¶
func ExecMuzzle ¶
func ExpectContains ¶
func ExpectContainsAllItem ¶
func ExpectContainsNothing ¶
func ExpectNotContains ¶
func ExpectSame ¶
func ExpectStderrContains ¶
func ExpectStdoutContains ¶
func RunGoBuild ¶
func RunInstrument ¶
func RunInstrumentFallible ¶
func TestBasicFastHttp ¶
func TestBasicFastHttps ¶
func TestBasicGrpc ¶
func TestBasicHertz ¶
func TestBasicHertzWithHook ¶
func TestBasicHertzWithRegex ¶
func TestBasicMux ¶
func TestBasicNetHttp ¶
func TestCrudMongo ¶
func TestCursor ¶
func TestExecutingCommands ¶
func TestGinHTML ¶
func TestGinPattern ¶
func TestGormCrud1220 ¶
func TestGormCrud1231 ¶
func TestGrpcStatus ¶
func TestGrpcStream ¶
func TestHttpMetric ¶
func TestKratosGrpc ¶
func TestKratosHttp ¶
func TestLogrus ¶
func TestMuxMiddleware ¶
func TestMuxPattern ¶
func TestMuxPrefix ¶
func TestRedigoDoCommands ¶
func TestRedigoTransactions ¶
func TestRedisConn ¶
func TestRedisRing ¶
func TestRedisTransactions ¶
func TestRedisUniversal ¶
func TestV8ExecutingCommands ¶
func TestV8RedisConn ¶
func TestV8RedisRing ¶
func TestV8RedisTransactions ¶
func TestV8RedisUniversal ¶
func UseTestRules ¶
Types ¶
type TestCase ¶
type TestCase struct { TestName string DependencyName string ModuleName string MinVersion *version.Version MaxVersion *version.Version MinGoVersion *version.Version MaxGoVersion *version.Version TestFunc func(t *testing.T, env ...string) LatestDepthFunc func(t *testing.T, env ...string) MuzzleClasses []string IsMuzzleCheck bool IsLatestDepthCheck bool }
func NewGeneralTestCase ¶
func NewLatestDepthTestCase ¶
func NewMuzzleTestCase ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.