You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return fmt.Sprintf("Test Suite %q with properties: %s, %d test cases, of which %d failed and %d were skipped: %s, and children: %s.", t.Name, t.Properties, t.NumTests, t.NumFailed, t.NumSkipped, t.TestCases, childDescriptions)
}
func (t *TestCase) String() string {
var result, message, output string
result = "passed"
if t.SkipMessage != nil {
result = "skipped"
message = t.SkipMessage.Message
}
if t.FailureOutput != nil {
result = "failed"
message = t.FailureOutput.Message
output = t.FailureOutput.Output
}
return fmt.Sprintf("Test Case %q %s after %f seconds with message %q and output %q.", t.Name, result, t.Duration, message, output)