Versions in this module Expand all Collapse all v0 v0.21.1 Apr 1, 2019 Changes in this version + func Caller() string + func CheckConnection(network, ip string, port int, timeout time.Duration) bool + func ExeDirJoin(elem ...string) string + func IsHostname(s string) bool + func IsIPv4(s string) bool + func IsNetPort(str string) bool + func IsTLSCert(block string) bool + func IsUUID(s string) bool + func NewUUID() string + func ReadJSONFile(name string, data interface{}) error + func ReadTestArgs(args *TestArgs) + func RootPath() string + func SingleTimeFormat(tm time.Time) string + func TestExpectResult(t *testing.T, op string, expected, actual error) + func TestUnmarshalJSON(t *testing.T, data []byte, v interface{}) + func ValidateJSON(schema, data []byte) bool + func WriteJSONFile(name, prefix, indent string, data interface{}) error + type TestArgs struct + Conf interface{} + Verbose bool