|
Support re-running tests while debugging.
When the browser is paused at a breakpoint, the runner will now open a
command-line console with a "restart" command that will restart the
current test.
This currently has no tests, due to dart-lang/sdk#25369 and the lack of
a programmatic API for interacting with Observatory. I've tested it
reasonably thoroughly by hand, but it's more likely than the average
feature to have lurking bugs.
Closes #335
R=kevmoo@google.com
Committed: https://github.com/dart-lang/test/commit/2dfe0f9ebbfe9334d7d5cdf788eb93f2fd7358f5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+344 lines, -119 lines) |
Patch |
 |
M |
CHANGELOG.md
|
View
|
1
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/backend/live_test.dart
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner.dart
|
View
|
|
6 chunks |
+10 lines, -72 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/browser/iframe_test.dart
|
View
|
|
2 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
 |
A |
lib/src/runner/console.dart
|
View
|
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/debugger.dart
|
View
|
|
2 chunks |
+126 lines, -34 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/engine.dart
|
View
|
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/runner/loader.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
lib/src/runner/reporter/compact.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/utils.dart
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pubspec.yaml
|
View
|
1
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|