Skip to content

Round 2: Unit tests for Compress, HashAlgorithms, Download Executors, Network, Silent, and Strategy modules #425

Description

@JusterZhu

Overview

Follow-up to #423/#424. This issue tracks adding comprehensive AAA pattern unit tests for the remaining GeneralUpdate.Core modules.

Modules to cover

Module Classes Priority
Compress CompressProvider, ZipCompressionStrategy High
HashAlgorithms HashAlgorithmBase, Sha256HashAlgorithm High
Download HttpDownloadExecutor, DefaultDownloadOrchestrator, DefaultDownloadPipeline, HttpDownloadSource, HubDownloadSource High
Network VersionService (retry/auth/SSL) High
Silent SilentPollOrchestrator Medium
Strategy AbstractStrategy, OS-level strategies Medium
Pipeline PatchMiddleware Low

Test Pattern

  • AAA (Arrange-Act-Assert)
  • xUnit + Moq
  • All tests passing on net10.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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