Skip to content

Don't sort test suites by status during a run #3093

Closed

Description

@DanTup

This causes them to jump around during the test run (eg. going from pass/fail to running/waiting and back).

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Jan 23, 2021
  2. added this to the v3.19.0 milestone on Jan 23, 2021
  3. changed the title [-]Don't sort test suites by status[/-] [+]Don't sort test suites by status during a run[/+] on Jan 23, 2021
  4. DanTup commented on Jan 23, 2021

    @DanTup
    MemberAuthor

    Actually, this is intended to be handled as described here:

    // To avoid the sort changing on every status change (stale, running, etc.) this
    // field will be the last status the user would care about (pass/fail/skip).
    // Default to Passed just so things default to the most likely (hopefully) place. This should
    // never be used for rendering; only sorting.
    protected _sort: TestSortOrder = TestSortOrder.Middle; // tslint:disable-line:variable-name

    Might have become broken in the change from TestStatus -> Set<TestStatus> to support running skips.

  5. added a commit that references this issue on Jan 23, 2021
    15885b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions