testutil

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 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