jeudi 1 octobre 2020

Flutter Driver: Test file not found

I'm attempting to run flutter drive --target=test_driver/app.dart and I get the error:

Using device sdk gphone x86 arm.

Target file "test_driver/app.dart" not found.

So I changed the path to flutter drive --target=lib/test_driver/app.dart and I get the error:

 Test file not found: /home/user/Documents/dev/flutter-app/test_driver/test_driver/app_test.dart.

This is my project structure:

flutter-app/
  lib/
    test_driver/
      app.dart
      app_test.dart

Why can't it locate the test file?

Aucun commentaire:

Enregistrer un commentaire