testutil

package
v0.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseTest

func BaseTest(t *testing.T,
	getCollector func(common.Config) (*common.Collector, error),
	checkResult func(t *testing.T, samples []stats.SampleContainer, expectedOutput, output string),
)

BaseTest is a helper function to test statsd/datadog collector throughtly

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL