Merge Patrol
and PatrolTester
#274
Labels
package: patrol
Related to the patrol package (native automation, test bundling)
tech debt
Something needs a refactor
Introduction
Currently, a different object is used to interact with the OS (
Patrol
), and a different to interact with FlutterPatrolTester
.We'd like to embed
Patrol
(and rename it toNativeAutomator
or something like this) inPatrolTester
. At the same time, we don't want to force our users to usepatrolTest
instead oftestWidgets
, so we want to keep the current method of initializingPatrol
.Scope
Add a
native
bool flag tomaestroTest
which, if true, will initializePatrolTester.native
:Currently:
"the old way" (but by no means deprecated – we want to let users use only the native automator, without having to use
patrolTest()
.We're aiming for:
"the new way"
To do
Patrol
class inside ofPatrolTester
and rename it #296$.native
instead of a separate object #298$.native
#299The text was updated successfully, but these errors were encountered: