Skip to content

T5: Test supplementation — unit tests for refactored components #350

Closed

Description

@JusterZhu

Current State

Existing tests: ~173 passing, 1 pre-existing failure in ConfiginfoBuilderTests

Plan

Add focused unit tests for components that were touched in the v2 refactoring:

  1. Hooks unit tests (IUpdateHooks / UnixPermissionHooks / CustomPermissionHooks)
  2. IPC unit tests (IProcessInfoProvider / NamedPipe / EncryptedFile)
  3. Backup/restore unit tests (StorageManager.Backup / Restore / CleanBackup)
  4. Event listener tests (EventManager / IUpdateEventListener)
  5. Fix pre-existing ConfiginfoBuilderTests failure

Out of scope (require server/infrastructure):

  • Integration tests needing running update server
  • AOT publish verification
  • Differential performance benchmarks

Part of GeneralUpdate v2 refactoring plan.

Activity

  1. added
    refactor
    on May 24, 2026
  2. added a commit that references this issue on May 24, 2026
    4708827
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

    refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions