Skip to content

Make a generic command for native plugin unit tests #84392

@stuartmorgan-g

Description

@stuartmorgan-g

Currently for the flutter/plugins tooling we have a command (xctest) that's specific to iOS and macOS native unit tests, and for Android you have to do the build and then gradle commands manually in the right location, which isn't ideal. We're going to be adding another build/test combination for Linux and Windows that won't be the same as either of those.

Rather than have to remember all the different platform invocations, or have different command for each test implementation, we should have a generic command (native-unit-test?) that takes platform flags, and handles all the details of the necessary build+run commands for each platform's tests.

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.p: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions