Skip to content

[test] Add automatic session contract tests #304

@marwannettour

Description

@marwannettour

Parent epic: #300

Summary

Add contract and unit tests for automatic trusted session validation and failure mapping.

Scope

  • Cover DTO defaults and serialization where relevant.
  • Cover client-side validation.
  • Cover server-side target resolution.
  • Cover failure reason mapping for UI and CLI consumers.

Acceptance criteria

  • Tests use FluentAssertions.
  • Tests do not use NUnit.Framework.Legacy or ClassicAssert.
  • Validation failures map to explicit automatic session failure reasons.
  • Server target resolution failures map to explicit automatic session failure reasons.
  • Tests follow Arrange-Act-Assert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions