()
| 9 | } |
| 10 | |
| 11 | func (t *TestSuite) String() string { |
| 12 | childDescriptions := []string{} |
| 13 | for _, child := range t.Children { |
| 14 | childDescriptions = append(childDescriptions, child.String()) |
| 15 | } |
| 16 | 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) |
| 17 | } |
| 18 | |
| 19 | func (t *TestCase) String() string { |
| 20 | var result, message, output string |