|
| 1 | +# TEST-NEEDS: seamstress |
| 2 | + |
| 3 | +## Current State |
| 4 | + |
| 5 | +| Category | Count | Details | |
| 6 | +|----------|-------|---------| |
| 7 | +| **Source modules** | 13 | Rust seamctl (7: cli, lib, main, model, graph, report, validate) + Elixir seamstressd (2: application, runner) + config | |
| 8 | +| **Unit tests** | 2 | seamstressd_test.exs (2 assertions), no Rust tests at all | |
| 9 | +| **Integration tests** | 0 | None | |
| 10 | +| **E2E tests** | 0 | None | |
| 11 | +| **Benchmarks** | 0 | None | |
| 12 | +| **Fuzz tests** | 0 | placeholder.txt only | |
| 13 | + |
| 14 | +## What's Missing |
| 15 | + |
| 16 | +### P2P Tests (CRITICAL) |
| 17 | +- [ ] No tests for seamctl <-> seamstressd communication |
| 18 | +- [ ] No tests for the graph module's dependency resolution |
| 19 | + |
| 20 | +### E2E Tests (CRITICAL) |
| 21 | +- [ ] No test running seamctl CLI commands |
| 22 | +- [ ] No test running seamstressd as a service |
| 23 | + |
| 24 | +### Aspect Tests |
| 25 | +- [ ] **Security**: No input validation tests for seamctl |
| 26 | +- [ ] **Performance**: No tests for graph resolution at scale |
| 27 | +- [ ] **Concurrency**: No concurrent operation tests |
| 28 | +- [ ] **Error handling**: No tests for malformed input, missing dependencies |
| 29 | + |
| 30 | +### Build & Execution |
| 31 | +- [ ] Rust seamctl has 0 tests -- not even a compilation test |
| 32 | +- [ ] No Elixir integration test |
| 33 | + |
| 34 | +### Benchmarks Needed |
| 35 | +- [ ] Graph resolution performance |
| 36 | +- [ ] Report generation throughput |
| 37 | + |
| 38 | +### Self-Tests |
| 39 | +- [ ] No healthcheck endpoint for seamstressd |
| 40 | +- [ ] No self-test mode for seamctl |
| 41 | + |
| 42 | +## FLAGGED ISSUES |
| 43 | +- **7 Rust source files with ZERO tests** -- completely untested CLI tool |
| 44 | +- **Elixir daemon with 2 test assertions** -- effectively untested service |
| 45 | +- **fuzz/placeholder.txt** -- fake fuzz testing claim |
| 46 | + |
| 47 | +## Priority: P0 (CRITICAL) |
0 commit comments