cosmos-sdk/client/lcd/main_test.go

25 lines
398 B
Go

package client_test
import (
"os"
"testing"
nm "github.com/tendermint/tendermint/node"
)
var node *nm.Node
// See https://golang.org/pkg/testing/#hdr-Main
// for more details
func TestMain(m *testing.M) {
// start a basecoind node and LCD server in the background to test against
// run all the tests against a single server instance
code := m.Run()
// tear down
//
os.Exit(code)
}