Skip to content

Non-solo (skipped) tests spam on compact mode #2542

@FMorschel

Description

@FMorschel

I did just confirm that skipped tests always spam even in compact mode, we should just fix that imo.

Originally posted by @jakemac53 in dart-lang/tools#2107 (comment)

So we don't lose this.

Small repro:

void main() {
  test('2 * 2 equals 4', () {
    expect(2 * 2, equals(4));
  });
  test('3 - 1 equals 2', () {
    expect(3 - 1, equals(2));
  }, solo: true);
}

Current output for compact:

00:00 +0: test\a_test.dart: 2 * 2 equals 4
  Skip: does not have "solo"
00:00 +1 ~1: All tests passed!

If we replace the solo above with skip:

00:00 +1 ~1: All tests passed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions