Add missing iOS test scaffolding in flutter/plugins plugins #83357
Labels
c: tech-debt
Technical debt, code quality, testing, etc.
P1
High-priority issues at the top of the work list
package
flutter/packages repository. See also p: labels.
platform-ios
iOS applications specifically
team
Infra upgrades, team productivity, code health, technical debt. See also team: labels.
Currently there are combinations of x that don't have that test type set up at all. This is a significant problem for incoming PRs—we are being much more rigorous about enforcing the need for tests than has been true in the past for flutter/plugins, but it's frequently the case that a native test should be at least part of that testing strategy, and there's nowhere for a new contributor to add that test. Asking someone who is new to the repo to actually set up, say, XCTests, for the first time for a plugin is not really realistic, so PRs get stalled.
To avoid this, we should add some minimal initial test of each type where it's missing. (Note that backfilling meaningful coverage of those test types is out of scope here.)
Based on an initial audit, it looks like we need (with rough priorities based on complexity of code and incoming PR rate):
Native unit (XCTest):
Native UI (XCUITest):
camera - investigate if there's any UI to testSimulator does not have camera supportThe text was updated successfully, but these errors were encountered: