tmtest

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package tmtest provides helpers for testing using tendermint server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTendermint

func RunTendermint(ctx context.Context, t *testing.T, home string) (cleanup func())

RunTendermint starts a tendermit process. Returned cleanup function will ensure the process has stopped and will block until.

Set FORCE_TM_TEST=1 environment variable to fail the test if the binary is not available. This might be desired when running tests by CI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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