Skip to content

Create E2E testing framework for testnet validation #7

@umwelt

Description

@umwelt

Context

Need comprehensive E2E tests to validate testnet functionality before user recruitment. This supports the Phase 1 deliverable: "Recruit early users and node operators" by ensuring system stability.

Scope

  • E2E test for full identity lifecycle (create, login, backup, recover)
  • E2E test for wallet operations (create, transfer, stake)
  • E2E test for guardian recovery flow
  • E2E test for DHT storage/retrieval
  • E2E test for smart contract interactions
  • Automated test runner for CI/CD

Dependencies

  • All Phase 1 features must be implemented

Acceptance Criteria

  • Identity lifecycle test covers all operations
  • Wallet operations test includes edge cases
  • Guardian recovery test validates full flow
  • DHT test validates replication and retrieval
  • Smart contract tests validate all contracts
  • Tests run in CI/CD pipeline
  • Test reports generated automatically
  • >90% success rate on testnet

Technical Notes

  • Use existing test framework from zhtp
  • Tests should run against live testnet
  • Include performance benchmarks
  • Generate test reports in JUnit format
  • Existing identity tests: zhtp/zhtp/tests/identity_recovery_tests.rs
  • Core features to test: Username/password auth, quantum-safe wallets (Primary/UBI/Savings), DHT storage, email/device verification

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions