sylph icon indicating copy to clipboard operation
sylph copied to clipboard

Remove dependency on non-test packages in pubspec.yaml

Open mmcc007 opened this issue 5 years ago • 2 comments
trafficstars

  • Integration tests are dart programs with no app dependencies.
  • The debug app is already installed on the device by the time the test is invoked on Device Farm
  • But flutter pub get requires the app dependencies

Removing the app dependencies on the fly removes unneeded dependencies on local and private repositories on Device Farm.

This fixes problems described in #99

mmcc007 avatar Mar 30 '20 16:03 mmcc007

Hi @mmcc007 , thanks for this issue. We now switch to local dependencies and then build the app. Works quite nice :) We wrote a little dart script switching to local. Maybe we can share the code?! Happy Hakking Tim

tim-fdc avatar Apr 21 '20 18:04 tim-fdc

Hey @tim-fdc , Sure, maybe we can use it as a starting point to resolve this issue.

mmcc007 avatar Apr 22 '20 03:04 mmcc007