Skip to content

[P1] Test infrastructure: Hilt test modules and :core:testing fakes #83

Description

@amaury901130

Remove mutable ServiceProviderModule.URL_API static; use @TestInstallIn modules. Replace removed TestCoroutineDispatcher with StandardTestDispatcher/MainDispatcherRule. Shared fakes in :core:testing.

Acceptance criteria

  • No test hooks in production code
  • Tests use kotlinx-coroutines-test current APIs

Reference: Android Base — Modernization Audit & Recommendations — section: Findings > Security / Tooling

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