Closed
Description
The following commands run all tests and one specific unit test OK. CWD is the root of the flutter repo.
flutter test --debug
flutter test --debug /builds/dev/flutter/packages/unit/test/widget/bottom_sheet_test.dart
Relative pathnames fail. For example:
flutter test --debug packages/unit/test/widget/bottom_sheet_test.dart
00:00 +0 -1: loading packages/unit/test/widget/bottom_sheet_test.dart
Failed to load "packages/unit/test/widget/bottom_sheet_test.dart": Does not exist.
00:00 +0 -1: Some tests failed.
The run_tests
command used to accept paths relative to the unit directory. That doesn't work either:
flutter test --debug test/widget/bottom_sheet_test.dart
00:00 +0 -1: loading packages/unit/test/widget/bottom_sheet_test.dart
Failed to load "packages/unit/test/widget/bottom_sheet_test.dart": Does not exist.
00:00 +0 -1: Some tests failed.