3.8 KiB
3.8 KiB
phase, slug, status, nyquist_compliant, wave_0_complete, created
| phase | slug | status | nyquist_compliant | wave_0_complete | created |
|---|---|---|---|---|---|
| 19 | app-registration-removal | draft | false | false | 2026-04-09 |
Phase 19 — Validation Strategy
Per-phase validation contract for feedback sampling during execution.
Test Infrastructure
| Property | Value |
|---|---|
| Framework | xUnit 2.9.3 |
| Config file | SharepointToolbox.Tests/SharepointToolbox.Tests.csproj |
| Quick run command | dotnet test --filter "Category=Unit" --no-build |
| Full suite command | dotnet test --no-build |
| Estimated runtime | ~15 seconds |
Sampling Rate
- After every task commit: Run
dotnet test --filter "Category=Unit" --no-build - After every plan wave: Run
dotnet test --no-build - 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 |
|---|---|---|---|---|---|---|---|
| 19-01-01 | 01 | 1 | APPREG-01 | unit | dotnet test --filter "FullyQualifiedName~AppRegistrationServiceTests" --no-build |
❌ W0 | ⬜ pending |
| 19-01-02 | 01 | 1 | APPREG-02 | unit | dotnet test --filter "FullyQualifiedName~AppRegistrationServiceTests" --no-build |
❌ W0 | ⬜ pending |
| 19-01-03 | 01 | 1 | APPREG-03 | unit (mock) | dotnet test --filter "FullyQualifiedName~AppRegistrationServiceTests" --no-build |
❌ W0 | ⬜ pending |
| 19-01-04 | 01 | 1 | APPREG-04 | unit | dotnet test --filter "FullyQualifiedName~AppRegistrationServiceTests" --no-build |
❌ W0 | ⬜ pending |
| 19-02-01 | 02 | 1 | APPREG-05 | unit (mock) | dotnet test --filter "FullyQualifiedName~ProfileManagementViewModelRegistrationTests" --no-build |
❌ W0 | ⬜ pending |
| 19-02-02 | 02 | 1 | APPREG-06 | unit (mock) | dotnet test --filter "FullyQualifiedName~AppRegistrationServiceTests" --no-build |
❌ W0 | ⬜ pending |
Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky
Wave 0 Requirements
SharepointToolbox.Tests/Services/AppRegistrationServiceTests.cs— stubs for APPREG-02, APPREG-03, APPREG-04, APPREG-06SharepointToolbox.Tests/ViewModels/ProfileManagementViewModelRegistrationTests.cs— stubs for APPREG-01, APPREG-05SharepointToolbox/Services/IAppRegistrationService.cs— interface stubSharepointToolbox/Core/Models/AppRegistrationResult.cs— result model stub
Existing xUnit infrastructure covers test framework — no new packages needed.
Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|---|---|---|---|
| Register App button visible in profile dialog | APPREG-01 | WPF UI rendering | Open profile create dialog, verify "Register App" button is present and enabled |
| Fallback instructions panel renders correctly | APPREG-04 | WPF UI rendering | Trigger non-admin path, verify step-by-step instructions display |
| Remove App button visible and functional | APPREG-05 | WPF UI rendering + live Entra | Open profile edit dialog for registered tenant, verify "Remove App" button |
| Re-authentication required after removal | APPREG-06 | Live MSAL session state | Remove app, attempt operation, verify login prompt 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: trueset in frontmatter
Approval: pending