Skip to content

Provide extra options to --list-tests #3221

Description

Summary

The current --list-tests option is too static and only provide really few informations about the tests. It's also incompatible with extensions while some could have some sense.

Here are some examples of improvements that could be done:

  • Display full test info instead of only display name
  • Group displayed tests by [grouping] (e.g. namespaces, classes, subclasses...)
  • Provide TRX with all tests as not executed

Originally posted by Marco Rossignoli (@MarcoRossignoli) in https://github.com/microsoft/testanywhere/issues/1266

Activity

  1. added
    area/mtp
    and removed
    needs/triage
    on Jul 7, 2024
  2. nohwnd commented on Nov 13, 2024

    @nohwnd
    Member

    dotnet/sdk#39957 might be worth adding a machine readable listing to the list of features.

  3. Lorilatschki commented on Dec 5, 2025

    @Lorilatschki

    Is there any progress on this? We would like to use the json/plain output written to a defined filepath in our CI.

  4. nohwnd commented on Dec 5, 2025

    @nohwnd
    Member

    There is no progress, our team resources are very limited these days, so we were not able to work on this. Nor do we have a plan when to address this.

  5. Lorilatschki commented on Dec 5, 2025

    @Lorilatschki

    Are community contributions welcome? If so, I would provide a PR for that.

  6. Evangelink commented on Dec 7, 2025

    @Evangelink
    MemberAuthor

    We definitely welcome any contribution from the community :)

    Ideally we should do a little bit of design internally first but given the period this will be hard so I think following dotnet/sdk#49754 and introducing a new parameter to select the format would be the best way to get started.

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/mtp

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions