Documentation ¶
Overview ¶
Package grpctest implements testing helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TLogger *tLogger
TLogger serves as the grpclog logger and is the interface through which expected errors are declared in tests.
Functions ¶
func RunSubTests ¶
RunSubTests runs all "Test___" functions that are methods of x as subtests of the current test. Setup is run before the test function and Teardown is run after.
For example usage, see example_test.go. Run it using:
$ go test -v -run TestExample .
To run a specific test/subtest:
$ go test -v -run 'TestExample/^Something$' .
Types ¶
Click to show internal directories.
Click to hide internal directories.