Skip to content

Provide a non-codegen mockito release with updated test_api dependency. #352

@jonahwilliams

Description

@jonahwilliams

Currently the flutter_tools project and several dev/ bits of the flutter SDK repo depend on mockito. Because we do not want to introduce a codegen requirement for developing with the SDK (and because we'd like to reduce mocks anyway) we have not been able to upgrade past 4.1.1. We anticipate this migrating will take at least a few more months.

Unfortunately mockito 4.1.1 depends on test_api, which means it constrains our test package version and thus everything that depends on test (shelf, shelf_packages, vm_service, dwds, analyzer).

To avoid being stuck at our current version for the next few months, it would be great to have a release of mockito that supported the latest versions but did not require codegen. Its not necessary for this to be null safe.

SDK version <2.12.0 / test_api ^0.3.0

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