Skip to content

E2E test: add TESTING.md documenting how to run azlin tests. #914

@rysweet

Description

@rysweet

Task Description

E2E test: add TESTING.md documenting how to run azlin tests.

Requirements

● Read TESTING.md
└ 170 lines read

● List all integration test files (shell)
│ ls /home/azureuser/src/azlin/rust/crates/azlin/tests/*.rs 2>/dev/null | xargs -I{} basename {} |
│ sort
└ 19 lines...

● Check bastion docs (shell)
│ ls /home/azureuser/src/azlin/docs/BASTION*.md 2>/dev/null
└ 5 lines...

● Check what each missing test covers (shell)
│ cd /home/azureuser/src/azlin/rust/crates/azlin/tests && for f in backup_dr_integration.rs
│ bastion_integration.rs doit_integration.rs error_integration.rs home_disk_integration.rs
│ lifecycle_integration.rs local_e2e.rs multi_vm_integration.rs output_format_integration.rs
│ restore_integration.rs storage_integration.rs template_integration.rs; do echo "=== $f ===";
│ head -15 "$f" 2>/dev/null; echo; done
└ 204 lines...

Ambiguity Resolution — Final Requirements

All ambiguities resolved. Here are the decisions:

Resolved Decisions

Ambiguity Decision Rationale
e2e_integration.rs in table but file is local_e2e.rs Rename to local_e2e.rs Matches actual filename on disk
11 missing integration test files in table Add all 11 with accurate descriptions from doc comments Table should be complete
scripts/test_agentic_integration.sh not referenced Do NOT add Legacy Python script (python -m azlin.cli); would confuse Rust developers
scripts/run_tests.sh not referenced Do NOT add Legacy macOS-specific Python runner
Bastion test docs not linked Add BASTION_SECURITY_TESTING.md only Directly testing-related; other bastion docs are requirements/quickstart, not test docs

Final Unambiguous Requirements

  1. Expand integration test table from 7 → 18 entries (fix e2e_integration.rslocal_e2e.rs, add 11 new files)
  2. Add docs/BASTION_SECURITY_TESTING.md to Detailed Documentation section
  3. No other changes needed — all other sections are accurate (counts, commands, env vars, links)

No remaining ambiguity. Ready for implementation.

✅ Copied bin
✅ Copied agents/amplihack
✅ Copied commands/amplihack
🔐 Set execute permissions on 43 hook files
✅ Copied tools/amplihack
🔐 Set execute permissions on 5 hook files
✅ Copied tools/xpia
✅ Copied context
✅ Copied workflow
✅ Copied skills
✅ Copied templates
✅ Copied scenarios
✅ Copied docs
✅ Copied schemas
✅ Copied config
✅ Copied tools/statusline.sh
✅ Copied AMPLIHACK.md
✅ CLAUDE.md is current version
💾 Backup created at /home/azureuser/.claude/settings.json.backup.1774840764
📋 Found existing settings.json
🔒 XPIA security hooks directory found
🔒 XPIA security hooks configured (3 hooks)
✅ Settings updated (10 hooks configured)
✓ Rust recipe runner available
✓ Disabled GitHub MCP server to save context tokens - using gh CLI instead
Using gh CLI with account: rysweet
To re-enable GitHub MCP, just ask: 'please use the GitHub MCP server'
✓ XPIA security defender ready (/home/azureuser/.amplihack/bin/xpia-defend)
✓ Staged 6 hooks to .github/hooks/

Acceptance Criteria

  • All explicit requirements met
  • Tests passing
  • Philosophy compliant
  • Documentation updated

Classification

Generated via default-workflow recipe

Metadata

Metadata

Assignees

No one assigned

    Labels

    workflow:defaultIssues created by default workflow

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions