Skip to content

Progress Output Inconsistent with Non-English Test Names #2530

@michael-abdul

Description

@michael-abdul

When test names include non-ASCII characters (e.g., Korean), flutter test shows real-time progress. With only English names, it shows only the final result.

With Korean:

void main() {
  test('첫째 test', () {
    expect(1, 1);
  });

  test('second test', () {
    expect(2, 2);
  });
}

OutPut

00:01 +0: 첫째 test                                                                                                                                                                                                                          
00:01 +1: 첫째 test                                                                                                                                                                                                                          
00:01 +2: All tests passed!

With English only:

void main() {
  test('first test', () {
    expect(1, 1);
  });

  test('second test', () {
    expect(2, 2);
  });
}

OutPut:

00:01 +2: All tests passed!

Expected

Same behavior regardless of test name language. Use --reporter=expanded for full output if needed.

Workaround

flutter test --reporter=expanded

Feature Request

Unicode in test names shouldn't affect progress visibility. It would be great if flutter test handled non-English test names consistently by default, without requiring the --reporter=expanded flag, as the current behavior can be confusing and inconvenient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions