Index: test/runner/compact_reporter_test.dart |
diff --git a/test/runner/compact_reporter_test.dart b/test/runner/compact_reporter_test.dart |
index 47b9db9112471c41cda8ad054539ff05e90de1c0..f8908790240c5f3e034dc723d287e5097b40398b 100644 |
--- a/test/runner/compact_reporter_test.dart |
+++ b/test/runner/compact_reporter_test.dart |
@@ -322,6 +322,20 @@ void main() { |
+0 ~3: All tests skipped."""); |
}); |
+ test("displays a skipped group", () { |
+ _expectReport(""" |
+ group('skip', () { |
+ test('test 1', () {}); |
+ test('test 2', () {}); |
+ test('test 3', () {}); |
+ }, skip: true);""", |
+ """ |
+ +0: loading test.dart |
+ +0: skip |
+ +0 ~1: skip |
+ +0 ~1: All tests skipped."""); |
+ }); |
+ |
test("runs skipped tests along with successful tests", () { |
_expectReport(""" |
test('skip 1', () {}, skip: true); |