flutter/flutter

Respect flutter::Settings from command line arguments specified to test harnesses.

Offen

#134.471 geöffnet am 11.09.2023

 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Dart (30.366 Forks)batch import
P2c: tech-debtgood first issueteam-enginetriaged-engine

Repository-Metriken

Stars
 (176.322 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7T 7h) (491 gemergte PRs in 30 T)

Beschreibung

In //flutter/common, there are flutter::Settings in switches.h that can be read from the command line (via flutter::SettingsFromCommandLine). However, these settings are not respected in any of the test harnesses in //flutter/testing. Now, not all the settings are valid in unit-tests. So these likely need to be split apart into base settings for all exectuables. But stuff like log control, log tags, and such should be configurable from the command line in unit-tests.

Contributor Guide