77 lines
2.5 KiB
Markdown
77 lines
2.5 KiB
Markdown
---
|
|
phase: 17
|
|
slug: group-expansion-html-reports
|
|
status: draft
|
|
nyquist_compliant: false
|
|
wave_0_complete: false
|
|
created: 2026-04-09
|
|
---
|
|
|
|
# Phase 17 — Validation Strategy
|
|
|
|
> Per-phase validation contract for feedback sampling during execution.
|
|
|
|
---
|
|
|
|
## Test Infrastructure
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| **Framework** | xUnit + Moq (existing) |
|
|
| **Config file** | SharepointToolbox.Tests/SharepointToolbox.Tests.csproj |
|
|
| **Quick run command** | `dotnet test --filter "Category!=Integration"` |
|
|
| **Full suite command** | `dotnet test` |
|
|
| **Estimated runtime** | ~15 seconds |
|
|
|
|
---
|
|
|
|
## Sampling Rate
|
|
|
|
- **After every task commit:** Run `dotnet test --filter "Category!=Integration"`
|
|
- **After every plan wave:** Run `dotnet test`
|
|
- **Before `/gsd:verify-work`:** Full suite must be green
|
|
- **Max feedback latency:** 15 seconds
|
|
|
|
---
|
|
|
|
## Per-Task Verification Map
|
|
|
|
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|
|
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
|
|
| 17-01-01 | 01 | 1 | RPT-01, RPT-02 | unit | `dotnet test --filter "SharePointGroupResolver"` | ❌ W0 | ⬜ pending |
|
|
| 17-02-01 | 02 | 2 | RPT-01 | unit | `dotnet test --filter "HtmlExportService"` | ✅ | ⬜ pending |
|
|
| 17-02-02 | 02 | 2 | RPT-01 | unit | `dotnet test --filter "HtmlExportService"` | ✅ | ⬜ pending |
|
|
|
|
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
|
|
|
---
|
|
|
|
## Wave 0 Requirements
|
|
|
|
- [ ] `SharepointToolbox.Tests/Services/SharePointGroupResolverTests.cs` — stubs for RPT-01, RPT-02
|
|
- [ ] Test fixtures for `ResolvedMember` and mock group data
|
|
|
|
*If none: "Existing infrastructure covers all phase requirements."*
|
|
|
|
---
|
|
|
|
## Manual-Only Verifications
|
|
|
|
| Behavior | Requirement | Why Manual | Test Instructions |
|
|
|----------|-------------|------------|-------------------|
|
|
| Click group pill expands member list in browser | RPT-01 | Requires rendered HTML + browser interaction | Export HTML, open in browser, click group pill, verify member sub-row appears |
|
|
| "members unavailable" label renders on resolution failure | RPT-01 | Visual verification in browser | Export with mocked failure, verify italic label appears |
|
|
|
|
---
|
|
|
|
## Validation Sign-Off
|
|
|
|
- [ ] All tasks have `<automated>` verify or Wave 0 dependencies
|
|
- [ ] Sampling continuity: no 3 consecutive tasks without automated verify
|
|
- [ ] Wave 0 covers all MISSING references
|
|
- [ ] No watch-mode flags
|
|
- [ ] Feedback latency < 15s
|
|
- [ ] `nyquist_compliant: true` set in frontmatter
|
|
|
|
**Approval:** pending
|