如何在Flutter中运行集成测试来解决此问题?

时间:2019-05-14 14:29:27

标签: git flutter flutter-dependencies flutter-test

尝试使用此命令进行集成测试时

lutter drive --target=my_app/test_driver/my_test.dart

我总是会收到此错误:

       The flutter tool requires Git in order to operate properly;
       to set up Flutter, run the following command:
       git clone -b stable https://github.com/flutter/flutter.git

当我按照他们所说的运行git clone -b stable https://github.com/flutter/flutter.git时,我总是会收到以下提示:

fatal: destination path 'flutter' already exists and is not an empty directory.
macpros-MBP:flutter_app CompteEtudiant$ 

0 个答案:

没有答案