Skip to content

Enable setting IgnoreUntilDate in TestCaseData.Ignore #3275

Description

@abborg

Currently, there is no easy method to set an IgnoreUntilDate property on a test case when using TestCaseData. Similar to the optional Until property on the IgnoreAttribute, an overload of the Ignore(string) method can be added to that takes in a reason string as well as an until date as a string. The signature would be something along the lines of:

public TestCaseData Ignore(string reason, string until);

Here's an example usage

private static IEnumerable<TestCaseData> _cases =  new [] { new TestCaseData("test").Ignore("Skip this test", until: "2019-06-30") };

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions