grpctest

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpctest implements testing helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSubTests

func RunSubTests(t *testing.T, x interface{})

RunSubTests runs all "Test___" functions that are methods of x as subtests of the current test. If x contains methods "Setup(*testing.T)" or "Teardown(*testing.T)", those are run before or after each of the test functions, respectively.

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

This section is empty.

Jump to

Keyboard shortcuts

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