ByteSync icon indicating copy to clipboard operation
ByteSync copied to clipboard

1.6 Add unit tests for trusted-session creation

Open marwannettour opened this issue 6 months ago • 0 comments

Parent epic: #307

Summary

Cover the application flow for starting trusted sessions.

Requirements

  • Test creation with one trusted client.
  • Test creation with multiple trusted clients.
  • Test failure when one client is not trusted.
  • Test failure when the requested client list is empty.
  • Test failure when cloud session creation fails.
  • Test mode mapping for JoinOnly, Inventory, and Synchronize.

Acceptance criteria

  • Tests use FluentAssertions.
  • Tests follow Arrange-Act-Assert.
  • Main success and failure branches are covered.

marwannettour avatar May 19 '26 12:05 marwannettour