Member
See #4021.
- Address
// TODO(dantup): This is right for Flutter, but must check package:test version for Dart too! - Remove
const runTestsByLine = true - Address
// TODO(dantup): Ensure we don't get here for Dart SDK or Bazel where we shouldn't use "dart run"? - Address
// TODO(dantup): WIRE THIS UP! - Review if
findMatchingDynamicNodeshould be taking lines into account? - Ensure there are tests that cover multiple tests in one run (
"program": "foo_test.dart?line=1", "args": ["foo_test.dart?line=20"])- manually tested
- Test all issues noted/referenced in Run tests using line/col to support groups/test with dynamic names #4021
- Address
// TODO(dantup): Ensure this never runs in the SDK, because it may produce unwanted package_configs? - Revert setting the default to "line" that was used for testing on the bots ( c00add9 )
- Ensure Flutter has automated tests in the same way as Dart
- manually tested
Fixes several issues:
- Fixes Run tests using line/col to support groups/test with dynamic names #4021
- Fixes Multiple tests execution #4150
- Fixes Parens around test name prevents CodeLens links from working #4168
- Fixes "No tests match regular expression...", customize regex #4099
- Fixes Debugging flutter tests fail if the descrription string has an interpolated value and a is composed of two concatenated strings #4250
DanTup
added
is enhancement
labels
Apr 5, 2023
DanTup
added this to the
v3.64.0 milestone
DanTup
force-pushed
the
run-tests-by-line
branch
4 times, most recently
from
11ecd70 to
c00add9
Compare
DanTup added 9 commits
April 19, 2023 12:00…cy in the hello_world sample project
DanTup
force-pushed
the
run-tests-by-line
branch
from
ba4a0ee to
f4f0fd7
Compare
DanTup
changed the title
Add some basic support for running tests by line number instead of name
Add support for running tests by line number instead of name
DanTup added 4 commits
April 19, 2023 12:10DanTup commented Apr 19, 2023
DanTup
merged commit e02dea9
into
master
DanTup deleted the run-tests-by-line branch
April 19, 2023 17:56