Versions in this module Expand all Collapse all v2 v2.9.1 Dec 25, 2023 Changes in this version + func FixtureGoldenFileName(t *testing.T, name string) string + func GetFreePort(t testing.TB) int + func GetMapKeys(t *testing.T, m interface{}) []string + func GetTestEtcd(t *testing.T) (*integration.ClusterV3, *clientv3.Client) + func GetTestNatsServer(t *testing.T) *server.Server + func ReadFile(t *testing.T, filepath string) []byte + func ShouldAlwaysReturn(t testing.TB, f interface{}, v interface{}, timeouts ...time.Duration) + func ShouldEventuallyReceive(t testing.TB, c interface{}, timeouts ...time.Duration) interface + func ShouldEventuallyReturn(t testing.TB, f interface{}, v interface{}, timeouts ...time.Duration) + func StartProcess(t testing.TB, program string, args ...string) *exec.Cmd + func StartServer(t testing.TB, frontend, debug bool, svType string, port int, sdPrefix string, ...) func() + func WriteFile(t *testing.T, filepath string, bytes []byte) Other modules containing this package github.com/pandazxx/pitaya