Skip to content

[Testing Platform] Count tests #3527

Closed as duplicate
Closed as duplicate

Description

It'd be useful to pass in a flag to return a simple count of test nodes. This could help users/build systems perform things like parallel execution batching.

We could probably derive this from --list-tests but it would involve more cumbersome console output parsing.

This could be its own flag, such as --count-tests, or a more granular option for --list-tests

e.g. --list-tests count

Activity

  1. Evangelink commented on Aug 13, 2024

    @Evangelink
    Member

    I do prefer the option to the --list-tests command. Relates to #3221.

  2. thomhurst commented on Aug 13, 2024

    @thomhurst
    ContributorAuthor

    Works for me 😄

  3. Youssef1313 commented on Jul 13, 2025

    @Youssef1313
    Member

    Also related to dotnet/sdk#49754

  4. Youssef1313 commented on Mar 25, 2026

    @Youssef1313
    Member

    Closing as a dupe of #3221 and dotnet/sdk#49754

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

    area/mtpMicrosoft.Testing.Platform core library.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions