Skip to content

spike: Wrong test suite identified when running "very_good test" with optimization #401

@renancaraujo

Description

@renancaraujo

Description
As described here, when running very_good test with optmization, the internal tooling will identify <cwd>/test/.test_runner.dart as the suite of tests.

Steps To Reproduce

  1. run very_good test without --no-optimization
  2. Any output of failing tests will accuse <cwd>/test/.test_runner.dart as output.

Expected Behavior
Outputs should show the real test suite,

Additional Context
As <cwd>/test/.test_runner.dart is a temporary file generated by mason, it is expecetd to somehow proxy the real suite or somehow allow its recover from some other field (group name without snake case?).
It is important that we are bound to the information passable via the JSON Reporter Protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions