CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule
UIThreadTestMethod should forward DataRow Attribute
Open
dev loop ➰
enhancement
source generator :gear:
testing 🏗
- Dominant language
- C#
- Stars
- 55
- Forks
- 19
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
`LabsUITestMethod` currently doesn't look for other attributes when being generated.
We should at least create a pattern/work to enable `DataRow` for repeated test scenarios.
Looks like `ExpectedException` is the old pattern and it can be better to use `Assert.ThrowsException` for more granular control, [see blog here with argument](https://makolyte.com/csharp-use-assert-throwsexception-instead-of-expectsexception-attribute/).
So we maybe don't want to forward that one or provide a warning when used at least?
Contributor guide
Assessment
This issue has not been assessed yet.