You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an effort to support running tests in pure-Dart projects (because you may want to work on a pure-Dart project for use in a Flutter project), we try to be smart about which invocation to use: flutter test or pub run test.
But we are not smart enough: we assume a Flutter project only if the file has a import package:flutter(_test)?/... statement, and otherwise assume a Dart project.
This falls down for pure-Dart files in Flutter packages.
We need some cheap way of determining whether the project is a Flutter one or not.
The text was updated successfully, but these errors were encountered:
In an effort to support running tests in pure-Dart projects (because you may want to work on a pure-Dart project for use in a Flutter project), we try to be smart about which invocation to use:
flutter test
orpub run test
.But we are not smart enough: we assume a Flutter project only if the file has a
import package:flutter(_test)?/...
statement, and otherwise assume a Dart project.This falls down for pure-Dart files in Flutter packages.
We need some cheap way of determining whether the project is a Flutter one or not.
The text was updated successfully, but these errors were encountered: