shouldCallAnyTool determines if any tool should be called for a test case
(testCase models.TestCase)
| 379 | |
| 380 | // shouldCallAnyTool determines if any tool should be called for a test case |
| 381 | func shouldCallAnyTool(testCase models.TestCase) bool { |
| 382 | for _, variant := range testCase.ExpectedToolVariants { |
| 383 | if len(variant.Tools) > 0 { |
| 384 | return true |
| 385 | } |
| 386 | } |
| 387 | return false |
| 388 | } |
| 389 | |
| 390 | // getExpectedTools gets all expected tools from all variants |
| 391 | func getExpectedTools(testCase models.TestCase) []string { |
no outgoing calls
no test coverage detected