Skip to content

Expand integration test suite #258

@Folyd

Description

@Folyd

Add more comprehensive integration tests covering real-world scenarios and edge cases.

Tasks

  • Add multi-party communication tests (3+ participants)
  • Add tests for all message routing scenarios:
    • Direct mode
    • Nested mode
    • Routed mode with multiple hops
    • Mixed mode scenarios
  • Add error recovery tests:
    • Connection failures and retries
    • Partial message delivery
    • Timeout handling
  • Add protocol compliance tests:
    • TSP specification conformance
    • DID method compliance
    • CESR format compliance
  • Add state transition tests:
    • Relationship lifecycle
    • Key rotation scenarios
    • VID updates
  • Add concurrency tests:
    • Simultaneous messages
    • Concurrent VID operations
    • Race condition testing
  • Add cross-feature tests (different feature flag combinations)

Acceptance Criteria

  • Integration test coverage increases by >30%
  • All major use cases have end-to-end tests
  • Edge cases and error scenarios are tested
  • Tests verify protocol compliance

Priority

High - Ensures real-world reliability

Part of #245

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions