-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
enhancementNew feature or requestNew feature or requestissue-handlingRelated to Issue handling within the testing libraryRelated to Issue handling within the testing librarypublic-apiAffects public APIAffects public APItraitsIssues and PRs related to the trait subsystem or built-in traitsIssues and PRs related to the trait subsystem or built-in traitstriagedThis issue has undergone initial triageThis issue has undergone initial triage
Description
Motivation
withKnownIssue
provides granularity, but does not offer a great user experience when the intent is to express an expected failure of a test function because it requires you to modify the entire body, resulting in (much) larger changes/diffs than necessary.
Proposed solution
E.g. a new defaulted parameter for the Test
macros. Could simply be a boolean; a more prudent design, I believe, would be to have it accept an enum along the lines of
enum ArgumentsWithKnownIssue<C: Collection> {
case none, all
case arguments(C)
}
Alternatives considered
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestissue-handlingRelated to Issue handling within the testing libraryRelated to Issue handling within the testing librarypublic-apiAffects public APIAffects public APItraitsIssues and PRs related to the trait subsystem or built-in traitsIssues and PRs related to the trait subsystem or built-in traitstriagedThis issue has undergone initial triageThis issue has undergone initial triage