-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowcustomer: productd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/
Description
(I discussed this with @jonahwilliams already, but I'm filing this to make sure we're tracking it.)
flutter run test/widget_test.dart is broken after the recent test_api changes. Attempting it will hit various runtime exceptions such as:
NoSuchMethodError: The method 'test' was called on null.
NoSuchMethodError: The method 'setUp' was called on null.
NoSuchMethodError: The method 'tearDown' was called on null.
We document that people can use flutter run on their widget tests to help debug widget tests, so this should be expected to work.
bgetsug, brianegan, zoechi, sidlatau, clocksmith and 2 more
Metadata
Metadata
Assignees
Labels
a: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: regressionIt was better in the past than it is nowIt was better in the past than it is nowcustomer: productd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/