Skip to content

Allow to have metadata applied to specific entries of parameterized tests #4089

@Evangelink

Description

@Evangelink

Summary

We have received a couple of requests internally and externally from users about the ability to have some of the attributes working for specific entries of parameterized tests.

Background and Motivation

For example, in here https://developercommunity.visualstudio.com/t/testcategory-and-datarow/465295 user is requesting for TestCategory to be applied on a given entry and not the full method.

Here #1043 the user is asking for the Ignore attribute to work on specific row.

Proposed Feature

Attributes cannot work on attributes so the only possibility I see is to have properties/options on the attribute. I would suggest to do the same for TestMethod to have similar behavior.

More thoughts need to be put onto designing this request but I wanted to capture the global idea.

Alternative Designs

Activity

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

    Needs: DesignNeeds research and proposal for how the feature will be implemented.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions