Skip to content

[in_app_purchase] Increase test coverage on Android #78538

@renefloor

Description

@renefloor

Use case

The test coverage on the in_app_purchase plugin on Android is really low (low as in 0%, non-existing). Asking the community to add testing to their PRs is difficult when there aren't any tests written at all. We should aim to cover at least all the methods in MethodCallHandlerImpl.

Proposal

  • Create a test folder
  • Create the first unit tests for io.flutter.plugins.inapppurchase
  • Cover MethodCallHandlerImpl 100%
  • Cover all Android code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: in_app_purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions