(t *testing.T)
| 315 | } |
| 316 | |
| 317 | func TestVerify_DryRun(t *testing.T) { |
| 318 | tmpDir := createVerifyTestFiles(t) |
| 319 | resetVerifyFlags() |
| 320 | taskDir = tmpDir |
| 321 | verifyTaskID = "001" |
| 322 | verifyDryRun = true |
| 323 | |
| 324 | output, err := captureVerifyOutput(t) |
| 325 | if err != nil { |
| 326 | t.Fatalf("unexpected error: %v", err) |
| 327 | } |
| 328 | |
| 329 | if !strings.Contains(output, "SKIP") { |
| 330 | t.Errorf("expected SKIP in dry-run output, got: %s", output) |
| 331 | } |
| 332 | // Should not contain PASS since nothing was executed |
| 333 | if strings.Contains(output, "PASS") { |
| 334 | t.Errorf("dry-run should not show PASS, got: %s", output) |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | func TestVerify_JSON(t *testing.T) { |
| 339 | tmpDir := createVerifyTestFiles(t) |
nothing calls this directly
no test coverage detected