Skip to content

CollectSourceInformation awareness to query source information #119

@AbhitejJohn

Description

@AbhitejJohn

Description

Per this issue the adapter is now aware if it is driven by an IDE/CLI. Querying source information for a test method is only required in IDE scenarios where one can run a test from an editor context for instance. Getting source information from the Test Platforms DIA wrapper is a costly operation and is of no use in CLI scenarios.
Filing this issue to conditionally not query for this information when running from CLI to better performance.

Environment

MSTest.TestFramework: 1.1.13
MSTest.TestAdapter: 1.1.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performanceRuntime / build performance / efficiency.help wantedUp for grabs; can be claimed by commenting.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions